问题:
Does Go have anything similar to Python's multiline strings: Go是否与Python的多行字符串相似?
"""line 1
line 2
line 3"""
If not, what is the preferred way of writing strings spanning multiple lines? 如果不是,编写跨多行字符串的首选方式是什么?
解决方案:
参考一: https://stackoom.com/question/XHr2/如何在Go中编写多行字符串参考二: https://oldbug.net/q/XHr2/How-do-you-write-multiline-strings-in-Go
来源:oschina
链接:https://my.oschina.net/u/4438370/blog/4281585