mirror of
https://github.com/crazybber/awesome-patterns.git
synced 2024-12-01 17:36:09 +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)
|
|
}
|