Run ❯
Get your
own
website
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
package main import ("fmt") func main() { var txt1 string = "Hello!" var txt2 string txt3 := "World 1" fmt.Printf("Type: %T, value: %v\n", txt1, txt1) fmt.Printf("Type: %T, value: %v\n", txt2, txt2) fmt.Printf("Type: %T, value: %v\n", txt3, txt3) }
Type: string, value: Hello!
Type: string, value:
Type: string, value: World 1