Skip to content

SetPathParam (add one parameter) #402

@alexbolgov

Description

@alexbolgov

Hey there!
Thanks for supporting this project!

I'd like to add one small thing that will save some lines of code for me
I want to propose a function

func (r *Request) SetPathParam(p, v string) *Request {
    r.pathParams[p] = v
    return r
}

What do you think?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions