package main

import "fmt"

type test struct {
        pre  string
        next string
}

func printInfo(te interface{}) {
        t := te.(test)

        fmt.Println(t.next)
}

func main() {
        var test1 test
        test1.pre = "11"
        test1.next = "22"

        printInfo(test1)
}