Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var UserSortMap = map[string]db.Sorter{ "id": { Column: "uid", }, "email": { Column: "email", }, "name": { Column: "username", }, "~id": { Column: "uid", Desc: true, }, "~email": { Column: "email", Desc: true, }, "~name": { Column: "username", Desc: true, }, }
UserSortMap maps allowed values of *sort* query parameter to corresponding sorters for user resource queries.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.