mirror of
https://github.com/crazybber/awesome-patterns.git
synced 2024-11-24 05:26:02 +03:00
874d7b4987
Signed-off-by: Bruce <weichou1229@gmail.com>
11 lines
90 B
Go
11 lines
90 B
Go
package trypanic
|
|
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
func Try() {
|
|
var test *string
|
|
fmt.Println(*test)
|
|
}
|