age := 18 if age >= 18 { return "已成年" }
Go 中的 if 可以接受变量初始化
if age := 18; age != nil { log.Print(err) return age }
我要举报该,理由是:
推荐文章: