package main import( "fmt" ) type TestInterface interface{} func main(){ a:=65 // char A 's ascii code b:=float64(a) c:=string(a) fmt.Println(a) fmt.Println(b) fmt.Println(c) // A //fmt.Println(c==nil)//error var ti TestInterface fmt.Println(ti == nil) fmt.Println("convert int to string vs string's empty", c=="") //false var s string fmt.Println("convert int to string vs string's empty", s=="") // true }