golang 多行字符串 字符串太长分行写

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