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