Commit 16ddb6c5 authored by Rob Pike's avatar Rob Pike

move comment on StringHeader to fix godoc output.

R=rsc, ken2
CC=golang-dev
https://golang.org/cl/196055
parent 6039a414
...@@ -281,12 +281,13 @@ func (v *Int64Value) Set(x int64) { ...@@ -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
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment