go-tour/type-inference.go
2020-02-04 21:44:36 -06:00

9 lines
95 B
Go

package main
import "fmt"
func main() {
v := 42
fmt.Printf("v is of type %T\n", v)
}