GOLANG TIP
How to write multiline strings in GO
Published in
2 min readFeb 3, 2023
It is possible by using a raw string literal which is a string that is delimited by backticks. For anyone here who wants a quick ctrl+c ctrl+v solution is :
`line 1
line 2
line 3`
What is a string literal
A string literal represents a string constant which is made up of concatenating a…