[go: up one dir, main page]

Skip to content

Setting Path Params in context #148

Closed Answered by Umang01-hash
Winkingroad asked this question in Q&A
Discussion options

You must be logged in to vote

@Winkingroad setting path params in context can be done using SetPathParams method of context.
Here is an example where we are using the same in unit testing:

ctx.SetPathParams(map[string]string{

Feel free to refer to it.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Winkingroad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants