Question:

Explain how you can write multiline strings in GO?

Answer:

To write multiline string in GO you can use a raw string literal, where the string is delimited by back quotes rather than double quotes.

‘ line  1

line  2

line  3 ’


Keywords:

© 2017 QuizBucket.org