Add .Params(map[string]string) #76
Replies: 1 comment
-
LOL, this is the same as #23. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Sometimes you need to add parameters conditionally, and it's annoying to break the flow with an if statement, so having a Params method might be nice.
Questions:
Params(map[string]string)
,Params(map[string][]string)
,Params([]string)
(panic if len(strings) isn't even), orParams(...string)
?Headers
? Seems less useful.Beta Was this translation helpful? Give feedback.
All reactions