Files
wallet-go-api/pkg/models/models.go
2021-05-22 16:51:18 +02:00

15 lines
388 B
Go

package models
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"`
}
type ResponseFunc func(*gin.Context) *[]interface{}