Documentation ¶
Index ¶
- type App
- func (a App) Check(_ context.Context, _, new interface{}) []crud.Error
- func (a App) Create(ctx context.Context, o interface{}) (item interface{}, err error)
- func (a App) Delete(ctx context.Context, o interface{}) (err error)
- func (a App) Get(ctx context.Context, ID uint64) (interface{}, error)
- func (a App) List(ctx context.Context, page, pageSize uint, sortKey string, sortAsc bool, ...) ([]interface{}, uint, error)
- func (a App) Unmarshal(content []byte, contentType string) (interface{}, error)
- func (a App) Update(ctx context.Context, o interface{}) (item interface{}, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
App of package
func (App) List ¶
func (a App) List(ctx context.Context, page, pageSize uint, sortKey string, sortAsc bool, filters map[string][]string) ([]interface{}, uint, error)
List readings of user
Click to show internal directories.
Click to hide internal directories.