Skip to content

Commit

Permalink
feat: update README example
Browse files Browse the repository at this point in the history
  • Loading branch information
ganlei committed Jun 5, 2023
1 parent c1a2bb3 commit ad6539d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ type Options struct {
}

opt := Options{ "foo", true, 2 }
v, _ := query.Values(opt)
v, _ := query.Values("",opt)
fmt.Print(v.Encode()) // will output: "q=foo&all=true&page=2"
```

Expand Down

0 comments on commit ad6539d

Please sign in to comment.