Documentation ¶
Index ¶
- Variables
- func Contains(strSlice []string, searchString string) bool
- func URLQueryInt64(r *http.Request, key string) (value int64, err error)
- func URLQueryInt64Default(r *http.Request, key string, defaultValue int64) (value int64, err error)
- func Unique(slice []string) []string
- type CtxKey
- type PaginationOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Provider string = "provider" UniqueName string = "uniqueName" StatusID string = "statusID" UID string = "uid" KeySession CtxKey = "session" KeySessionUID CtxKey = "sessionUID" )
View Source
var (
Version, Commit string
)
Functions ¶
func URLQueryInt64 ¶ added in v0.1.0
func URLQueryInt64Default ¶ added in v0.1.0
Types ¶
type PaginationOptions ¶ added in v0.1.0
PaginationOptions options for pagination
func URLPaginationOptions ¶ added in v0.1.0
func URLPaginationOptions(r *http.Request) (*PaginationOptions, error)
Click to show internal directories.
Click to hide internal directories.