Browse Source

Correct type name in the doc example

Hari haran 12 years ago
committed by Will Norris
parent
commit
e028073d45
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      github/doc.go

+ 1
- 1
github/doc.go View File

@ -75,7 +75,7 @@ Helper functions have been provided to easily create these pointers for string,
bool, and int values. For example: bool, and int values. For example:
// create a new private repository named "foo" // create a new private repository named "foo"
repo := &github.Repo{
repo := &github.Repository{
Name: github.String("foo"), Name: github.String("foo"),
Private: github.Bool(true), Private: github.Bool(true),
} }


Loading…
Cancel
Save