Documentation
¶
Index ¶
- type App
- func (a *App) Create(_ context.Context, _ model.User) (uint64, error)
- func (a *App) Delete(_ context.Context, _ model.User) error
- func (a *App) DoAtomic(ctx context.Context, action func(context.Context) error) error
- func (a *App) Get(_ context.Context, _ uint64) (model.User, error)
- func (a *App) SetCreate(id uint64, err error) *App
- func (a *App) SetDelete(err error) *App
- func (a *App) SetDoAtomic(err error) *App
- func (a *App) SetGet(user model.User, err error) *App
- func (a *App) SetUpdate(err error) *App
- func (a *App) Update(_ context.Context, _ model.User) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.