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:
parent
6039a414ae
commit
16ddb6c538
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user