1
0
mirror of https://github.com/golang/go synced 2024-11-21 17:44:40 -07:00

move comment on StringHeader to fix godoc output.

R=rsc, ken2
CC=golang-dev
https://golang.org/cl/196055
This commit is contained in:
Rob Pike 2010-01-29 12:43:46 +11:00
parent 6039a414ae
commit 16ddb6c538

View File

@ -281,12 +281,13 @@ func (v *Int64Value) Set(x int64) {
// Set sets v to the value x. // Set sets v to the value x.
func (v *Int64Value) SetValue(x Value) { v.Set(x.(*Int64Value).Get()) } func (v *Int64Value) SetValue(x Value) { v.Set(x.(*Int64Value).Get()) }
// StringValue represents a string value. // StringHeader is the runtime representation of a string.
// runtime representation of slice
type StringHeader struct { type StringHeader struct {
Data uintptr Data uintptr
Len int Len int
} }
// StringValue represents a string value.
type StringValue struct { type StringValue struct {
value value
} }