Versions in this module Expand all Collapse all v1 v1.11.1 Jul 29, 2026 Changes in this version + var ErrConcurrentUpdate = ginx.Result + type Attribute struct + Builtin bool + Display bool + FieldName string + FieldType string + FieldUid string + GroupId int64 + ID int64 + Index int64 + Link bool + ModelUid string + Option interface{} + Required bool + Secure bool + SortKey int64 + type AttributeGroup struct + FieldUids []string + GroupId int64 + GroupName string + Index int64 + ModelUid string + SortKey int64 + type AttributeGroups struct + Attributes []int64 + GroupId int64 + Total int + type AttributeList struct + Attributes []Attribute + Expanded bool + GroupId int64 + GroupName string + Index int64 + SortKey int64 + Total int + type AttributeModel struct + ModelUid string + Name string + type CreateAttributeGroup struct + ModelUid string + Name string + type CreateAttributeReq struct + FieldName string + FieldType string + FieldUid string + GroupId int64 + Index int64 + Link bool + ModelUid string + Option interface{} + Required bool + Secure bool + SortKey int64 + type CustomAttributeFieldColumnsReq struct + CustomFieldName []string + ModelUid string + type DeleteAttributeGroupReq struct + ID int64 + type DeleteAttributeReq struct + Id int64 + type Handler struct + func NewHandler(svc service.Service, modelSvc modelservice.Service) *Handler + func (h *Handler) CreateAttribute(ctx *gin.Context, req CreateAttributeReq) (ginx.Result, error) + func (h *Handler) CreateAttributeGroup(ctx *gin.Context, req CreateAttributeGroup) (ginx.Result, error) + func (h *Handler) CustomAttributeFieldColumns(ctx *gin.Context, req CustomAttributeFieldColumnsReq) (ginx.Result, error) + func (h *Handler) DeleteAttribute(ctx *gin.Context, req DeleteAttributeReq) (ginx.Result, error) + func (h *Handler) DeleteAttributeGroup(ctx *gin.Context, req DeleteAttributeGroupReq) (ginx.Result, error) + func (h *Handler) ListAttributeField(ctx *gin.Context, req ListAttributeReq) (ginx.Result, error) + func (h *Handler) ListAttributeGroup(ctx *gin.Context, req ListAttributeGroupReq) (ginx.Result, error) + func (h *Handler) ListAttributeGroupByIds(ctx *gin.Context, req ListAttributeGroupByIdsReq) (ginx.Result, error) + func (h *Handler) ListAttributes(ctx *gin.Context, req ListAttributeReq) (ginx.Result, error) + func (h *Handler) PrivateRoutes(server *gin.Engine) + func (h *Handler) RenameAttributeGroup(ctx *gin.Context, req RenameAttributeGroupReq) (ginx.Result, error) + func (h *Handler) Sort(ctx *gin.Context, req SortAttributeReq) (ginx.Result, error) + func (h *Handler) SortAttributeGroup(ctx *gin.Context, req SortAttributeGroupReq) (ginx.Result, error) + func (h *Handler) UpdateAttribute(ctx *gin.Context, req UpdateAttributeReq) (ginx.Result, error) + type ListAttributeGroupByIdsReq struct + Ids []int64 + type ListAttributeGroupReq struct + ModelUid string + type ListAttributeReq struct + ModelUid string + type RenameAttributeGroupReq struct + ID int64 + Name string + type RetrieveAttributeFieldList struct + Attributes []Attribute + Total int64 + type RetrieveAttributeFieldsList struct + type RetrieveAttributeList struct + Fields []Attribute + Groups []AttributeGroup + Model AttributeModel + type SortAttributeGroupReq struct + ID int64 + TargetPosition int64 + type SortAttributeReq struct + ID int64 + TargetGroupID int64 + TargetPosition int64 + type UpdateAttributeReq struct + FieldName string + FieldType string + Id int64 + Index int64 + Link bool + Option interface{} + Required bool + Secure bool + SortKey int64