Documentation
¶
Index ¶
- func NewUserCURDRepo(p UserRepoParamFx) (repo_api.UserRepoAPI, error)
- type UserImplRepoFx
- func (r *UserImplRepoFx) Create(ctx context.Context, user repo_attr.User) error
- func (r *UserImplRepoFx) Delete(ctx context.Context, id string) error
- func (r *UserImplRepoFx) Read(ctx context.Context, id string) (*repo_attr.User, error)
- func (r *UserImplRepoFx) ReadAll(ctx context.Context, limit int, offset int) ([]repo_attr.User, error)
- func (r *UserImplRepoFx) Update(ctx context.Context, user repo_attr.User) error
- type UserRepoParamFx
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUserCURDRepo ¶
func NewUserCURDRepo(p UserRepoParamFx) (repo_api.UserRepoAPI, error)
Types ¶
type UserImplRepoFx ¶
type UserImplRepoFx struct {
// contains filtered or unexported fields
}
func (*UserImplRepoFx) Delete ¶
func (r *UserImplRepoFx) Delete(ctx context.Context, id string) error
type UserRepoParamFx ¶
Click to show internal directories.
Click to hide internal directories.