awesome-patterns/playground/panic/trypanic.go

11 lines
90 B
Go
Raw Permalink Normal View History

package trypanic
import (
"fmt"
)
func Try() {
var test *string
fmt.Println(*test)
}