golang 多行字符串 字符串太長分行寫

使用 ` 來包含便可。code package main import ( "fmt" ) func main() { str := `hello world v2.0` fmt.Println(str) }
相關文章
相關標籤/搜索