Does Go have anything similar to Python’s multiline strings:

"""line 1
line 2
line 3"""

If not, what is the preferred way of writing strings spanning multiple lines?

1Best Answer
11


recommended by Go Language

Leave a Reply

Your email address will not be published. Required fields are marked *