I Spy Code - GO

String type

A string is a sequence of characters with a definite length used to represent text. Go strings are made up of individual bytes, usually one for each character.

Source: (example.go)

package main
 
import "fmt"
 
func main() {
 
   // string
   s := "Hello World"
 
   fmt.Println(s)
}
 

Output:

$ go run example.go
Hello World