Browse Source

Fix Int helper documentation.

This change makes it accurate and consistent with others.
Dmitri Shuralyov 10 years ago
committed by Will Norris
parent
commit
491489e7d7
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      github/github.go

+ 2
- 3
github/github.go View File

@ -766,9 +766,8 @@ func Bool(v bool) *bool {
return p
}
// Int is a helper routine that allocates a new int32 value
// to store v and returns a pointer to it, but unlike Int32
// its argument value is an int.
// Int is a helper routine that allocates a new int value
// to store v and returns a pointer to it.
func Int(v int) *int {
p := new(int)
*p = v


Loading…
Cancel
Save