点击运行
package main import "fmt" func main() { var i, j, str = 18, 36, "jiyik" fmt.Println(i) fmt.Println(j) fmt.Println(str) fmt.Printf("i is of type %T\n", i) fmt.Printf("j is of type %T\n", j) fmt.Printf("str is of type %T\n", str) }
运行结果 :
正在执行...