Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 637 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 637 Bytes

filter

GoDoc Build Status

ParamsFromValues(v url.Values, b bool)

Filter Params form Values for r.URL.Query() in pat, gohttp, bone.

If b = true, delete Params from Values.

v := url.Values{}
v.Set(":name", "Ava")
v.Set("name", "Zoe")
b := false
p := ParamsFromValues(v, b)
// p.Get("name")