Multiline strings



examples/multiline-string/multiline_string.go
package main

import "fmt"

func main() {
    text := `This
is a long
string
with multiple lines
`
    fmt.Printf("Type: %T\n\n", text)
    fmt.Println(text)

}

examples/multiline-string/multiline_string.out
Type: string

This
is a long
string
with multiple lines