Documentation ¶
Index ¶
- Variables
- type Todo
- func (s *Todo) Create(ctx context.Context, v *entity.Todo) error
- func (s *Todo) DeleteByID(ctx context.Context, id string) error
- func (s *Todo) FindAll(ctx context.Context) (ret []*entity.Todo, err error)
- func (s *Todo) FindByID(ctx context.Context, id string) (*entity.Todo, bool)
- func (s *Todo) Update(ctx context.Context, v *entity.Todo) error
Constants ¶
This section is empty.
Variables ¶
View Source
var WireSet = wire.NewSet( DefaultTodo, )
WireSet all entities for wire inject
Functions ¶
This section is empty.
Types ¶
type Todo ¶
type Todo struct {
// contains filtered or unexported fields
}
Todo is CRUD todo entity
func (*Todo) DeleteByID ¶
DeleteByID is delete todo entity
Click to show internal directories.
Click to hide internal directories.