开始 ❯
×
改变方向
更改主题,深色/浅色
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) }
类型:字符串,值:你好!
类型:字符串,值:
类型:字符串,值:World 1