Files
yaegi/_test/type1.go
T

13 lines
127 B
Go

package main
import "fmt"
func main() {
var i interface{} = "hello"
s := i.(string)
fmt.Println(s)
}
// Output:
// hello