package main import "fmt" func main() { var i interface{} = "hello" s := i.(string) fmt.Println(s) fmt.Printf("%v- %T\n", s, s) }