Go and multiline strings

Using back ticks you can have multiline strings:

package main

import "fmt"

func main() {
   goLongStrings := `
   i like these
   long strings
   in go \m/
   `
   fmt.Println(goLongStrings)
}
Pedro Luz
A personal blog by Pedro Luz about coding, coding, habit building, and a few things more.(Psst... I am open to opportunities.)
Reach out to me on your favorite social :)© 2020 Pedro Luz