Skip to content

Commit

Permalink
Fix parameter binding issue
Browse files Browse the repository at this point in the history
Ref #39
  • Loading branch information
jbrodriguez committed Sep 15, 2017
1 parent e758cef commit 31e12db
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions server/src/lib/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ package lib

// Options -
type Options struct {
Query string `form:"query"`
Offset uint64 `form:"offset"`
Limit uint64 `form:"limit"`
SortBy string `form:"sortBy"`
SortOrder string `form:"sortOrder"`
FilterBy string `form:"filterBy"`
Query string `form:"query" query:"query"`
Offset uint64 `form:"offset" query:"offset"`
Limit uint64 `form:"limit" query:"limit"`
SortBy string `form:"sortBy" query:"sortBy"`
SortOrder string `form:"sortOrder" query:"sortOrder"`
FilterBy string `form:"filterBy" query:"filterBy"`
}

0 comments on commit 31e12db

Please sign in to comment.