Documentation ¶
Index ¶
- type Character
- func (c Character) CreateOrUpdate(ctx context.Context, chara *entity.Character) error
- func (c Character) LoadByID(ctx context.Context, id uint) (*entity.Character, error)
- func (c Character) LoadMany(ctx context.Context, predicate predicate.Character) ([]*entity.Character, error)
- func (c Character) RemoveByID(ctx context.Context, id uint) error
- type CharacterOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Character ¶
type Character struct {
// contains filtered or unexported fields
}
func NewCharacter ¶
func NewCharacter(opts *CharacterOptions) *Character
func (Character) CreateOrUpdate ¶
type CharacterOptions ¶
Click to show internal directories.
Click to hide internal directories.