package entity type Msg struct { Success bool `json:"success"` Msg string `json:"msg"` Obj interface{} `json:"obj"` } type Pager struct { Current int `json:"current"` PageSize int `json:"page_size"` Total int `json:"total"` OrderBy string `json:"order_by"` Desc bool `json:"desc"` Key string `json:"key"` List interface{} `json:"list"` }