Source file tour/basics/type-inference.go

     1  //go:build OMIT
     2  
     3  package main
     4  
     5  import "fmt"
     6  
     7  func main() {
     8  	v := 42 // change me!
     9  	fmt.Printf("v is of type %T\n", v)
    10  }
    11  

View as plain text