Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractPaginationParams ¶
ExtractPaginationParams ...
func Logger ¶
func Logger() gin.HandlerFunc
Logger receives gin contexts and return formated string with header and body
Types ¶
type Error ¶
type Error struct { Code string `json:"code"` Message string `json:"message"` Details string `json:"details"` }
Error ...
type PaginationResponse ¶
type PaginationResponse struct { Limit int `json:"limit"` Offset int `json:"offset"` Total int `json:"total"` }
PaginationResponse ...
Click to show internal directories.
Click to hide internal directories.