Documentation ¶
Index ¶
- Variables
- type Group
- func (b *Group) CreateOne(user userModel.User, data accountModel.Account, ctx context.Context) (account accountModel.Account, aUser accountModel.User, err error)
- func (b *Group) Delete(account accountModel.Account, accountUser accountModel.User, ...) (err error)
- func (b *Group) NewCreateData(name string, icon string, aType accountModel.Type, location string) accountModel.Account
- func (b *Group) Update(account accountModel.Account, accountUser accountModel.User, ...) (err error)
- func (b *Group) UpdateUser(accountUser accountModel.User, operator accountModel.User, ...) (result accountModel.User, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var GroupApp = &Group{}
Functions ¶
This section is empty.
Types ¶
type Group ¶
type Group struct { // contains filtered or unexported fields }
func (*Group) CreateOne ¶
func (b *Group) CreateOne( user userModel.User, data accountModel.Account, ctx context.Context, ) (account accountModel.Account, aUser accountModel.User, err error)
func (*Group) Delete ¶
func (b *Group) Delete(account accountModel.Account, accountUser accountModel.User, ctx context.Context) (err error)
func (*Group) NewCreateData ¶
func (b *Group) NewCreateData(name string, icon string, aType accountModel.Type, location string) accountModel.Account
func (*Group) Update ¶
func (b *Group) Update( account accountModel.Account, accountUser accountModel.User, updateData accountModel.AccountUpdateData, ctx context.Context, ) (err error)
func (*Group) UpdateUser ¶
func (b *Group) UpdateUser( accountUser accountModel.User, operator accountModel.User, updateData accountModel.UserUpdateData, ctx context.Context, ) (result accountModel.User, err error)
Click to show internal directories.
Click to hide internal directories.