convert interface{} to struct golang code example Example: cast interface to struct golang v, ok = i.(T)