摘要:
//定义多行字符串: `` 里面的控制字符不会被转义 func main() { s := `hello \n\r world` fmt.Println(s) } //hello //\n\r world //格式化输出 func main() { s := "a" fmt.Println(s[0] 阅读全文
摘要:
"go addressable 详解" "Go 挖坑指南: “cannot take the address of XXX” and “cannot call pointer method on XXX" "go语言规范中对Address_operators说明" 阅读全文