Skip to content

Commit bdbcba6

Browse files
committed
Fix based on best practices from Effective Go
Signed-off-by: CodeLingo Bot <[email protected]>
1 parent c126735 commit bdbcba6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ func getFromForm(values url.Values) *RequestOptions {
6363
return nil
6464
}
6565

66-
// RequestOptions Parses a http.Request into GraphQL request options struct
66+
// NewRequestOptions Parses a http.Request into GraphQL request options struct
6767
func NewRequestOptions(r *http.Request) *RequestOptions {
6868
if reqOpt := getFromForm(r.URL.Query()); reqOpt != nil {
6969
return reqOpt

0 commit comments

Comments
 (0)