diff --git a/src/pkg/reflect/value.go b/src/pkg/reflect/value.go index 14596ad315d..881d44fb2a0 100644 --- a/src/pkg/reflect/value.go +++ b/src/pkg/reflect/value.go @@ -282,6 +282,11 @@ func (v *Int64Value) Set(x int64) { func (v *Int64Value) SetValue(x Value) { v.Set(x.(*Int64Value).Get()) } // StringValue represents a string value. +// runtime representation of slice +type StringHeader struct { + Data uintptr + Len int +} type StringValue struct { value }