Golang cast int to int64

Example 1: Cast int to int64 In the example below, we will try to convert an int to int64. We can use the fmt.Printf function with the %T verb to print out the type of the variable: package main import "fmt" func main() { i := 1104 var i64 int64 i64 = int64(i) fmt.Printf("i value: %v, i type: ................
................