From 27d6b1f8002cd4bb2ef26d5b5abea1c6b95809e9 Mon Sep 17 00:00:00 2001 From: Ali Farooq Date: Wed, 24 Jun 2020 19:14:49 -0400 Subject: [PATCH] Fix documentation for addOptions func (#1568) --- github/github.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github/github.go b/github/github.go index d876e98bbd..c68a80c7b9 100644 --- a/github/github.go +++ b/github/github.go @@ -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)