Jun 20, 2013
Use multiline strings with Go
For decelerate the string that contain line breaks, you close back quart.
If you use the double quart, it arise error.
// string of multiline var str string str = `Welcome! Multi lines message! Good job!`
You can put the back quart by Shift + @ if you use Mac.
No comments:
Post a Comment
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment