Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
PathKey = "key"
)
Functions ¶
Types ¶
type Base ¶
type Base struct {
Models map[string]*model.Model
TenantIDFunc func(ctx *gin.Context) (any, error)
// contains filtered or unexported fields
}
Base acton
type Create ¶
type Create struct {
*Base
}
Create action
func (*Create) GenOpenAPI ¶
func (e *Create) GenOpenAPI(m *model.Model) *spec.PathItemProps
GenOpenAPI gen open api method: post, Parameters: nil
type Pagination ¶
type Pagination struct {
Page int64 `form:"current" query:"current"`
PageSize int64 `form:"pageSize" query:"pageSize"`
}
Pagination pagination params
Click to show internal directories.
Click to hide internal directories.