Skip to content

Commit

Permalink
Fix documentation for addOptions func (google#1568)
Browse files Browse the repository at this point in the history
  • Loading branch information
alifarooq0 committed Jun 24, 2020
1 parent 37d17c8 commit 27d6b1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github/github.go
Expand Up @@ -231,7 +231,7 @@ type RawOptions struct {
Type RawType
}

// addOptions adds the parameters in opt as URL query parameters to s. opt
// addOptions adds the parameters in opts as URL query parameters to s. opts
// must be a struct whose fields may contain "url" tags.
func addOptions(s string, opts interface{}) (string, error) {
v := reflect.ValueOf(opts)
Expand Down

0 comments on commit 27d6b1f

Please sign in to comment.