cast an interface in struct golang code example Example: cast interface to struct golang v, ok = i.(T)