Documentation ¶
Index ¶
- func AttrBuilder[T any, TP any](ctx context.Context, key string, builder ...func(data TP)) context.Context
- func AttrMake[T any, TP any](ctx context.Context, key string, builder func() TP)
- func CheckLicenseFiles[T sys_entity.SysLicense | sys_do.SysLicense](ctx context.Context, info sys_model.License, data *T) (response *T, err error)
- func CheckPermission[TRes any](ctx context.Context, f func() (TRes, error), ...) (TRes, error)
- func CheckPermissionOr[TRes any](ctx context.Context, f func() (TRes, error), ...) (TRes, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AttrBuilder ¶
func CheckLicenseFiles ¶
func CheckLicenseFiles[T sys_entity.SysLicense | sys_do.SysLicense](ctx context.Context, info sys_model.License, data *T) (response *T, err error)
func CheckPermission ¶
func CheckPermissionOr ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.