mirror of
https://github.com/FJurmanovic/wallet-go-api.git
synced 2026-02-06 06:08:16 +00:00
added subscription edit
This commit is contained in:
@@ -4,11 +4,7 @@ import "github.com/gin-gonic/gin"
|
||||
|
||||
type FilteredResponse struct {
|
||||
Items interface{} `json:"items"`
|
||||
SortBy string `json:"sortBy"`
|
||||
Embed string `json:"embed"`
|
||||
Page int `json:"page"`
|
||||
Rpp int `json:"rpp"`
|
||||
TotalRecords int `json:"totalRecords"`
|
||||
Params
|
||||
}
|
||||
|
||||
type ResponseFunc func(*gin.Context) *[]interface{}
|
||||
@@ -16,3 +12,11 @@ type ResponseFunc func(*gin.Context) *[]interface{}
|
||||
type MessageResponse struct {
|
||||
Message string `json:"message"`
|
||||
}
|
||||
|
||||
type Params struct {
|
||||
SortBy string `json:"sortBy"`
|
||||
Embed string `json:"embed"`
|
||||
Page int `json:"page"`
|
||||
Rpp int `json:"rpp"`
|
||||
TotalRecords int `json:"totalRecords"`
|
||||
}
|
||||
Reference in New Issue
Block a user