Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
16ddb6c5
Commit
16ddb6c5
authored
Jan 29, 2010
by
Rob Pike
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move comment on StringHeader to fix godoc output.
R=rsc, ken2 CC=golang-dev
https://golang.org/cl/196055
parent
6039a414
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
value.go
src/pkg/reflect/value.go
+3
-2
No files found.
src/pkg/reflect/value.go
View file @
16ddb6c5
...
...
@@ -281,12 +281,13 @@ func (v *Int64Value) Set(x int64) {
// Set sets v to the value x.
func
(
v
*
Int64Value
)
SetValue
(
x
Value
)
{
v
.
Set
(
x
.
(
*
Int64Value
)
.
Get
())
}
// StringValue represents a string value.
// runtime representation of slice
// StringHeader is the runtime representation of a string.
type
StringHeader
struct
{
Data
uintptr
Len
int
}
// StringValue represents a string value.
type
StringValue
struct
{
value
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment