Documentation ¶
Index ¶
- type ImpLocationDao
- func (inst *ImpLocationDao) Find(id dxo.LocationID) (*entity.Location, error)
- func (inst *ImpLocationDao) FindByPath(path string) (*entity.Location, error)
- func (inst *ImpLocationDao) Insert(o *entity.Location) (*entity.Location, error)
- func (inst *ImpLocationDao) ListAll() ([]*entity.Location, error)
- func (inst *ImpLocationDao) Remove(id dxo.LocationID) error
- func (inst *ImpLocationDao) Update(id dxo.LocationID, o1 *entity.Location) (*entity.Location, error)
- type ImpLocationService
- func (inst *ImpLocationService) Find(ctx context.Context, id dxo.LocationID, opt *service.LocationOptions) (*dto.Location, error)
- func (inst *ImpLocationService) FindByPath(ctx context.Context, path string, opt *service.LocationOptions) (*dto.Location, error)
- func (inst *ImpLocationService) Insert(ctx context.Context, o1 *dto.Location) (*dto.Location, error)
- func (inst *ImpLocationService) InsertOrFetch(ctx context.Context, o1 *dto.Location, opt *service.LocationOptions) (*dto.Location, error)
- func (inst *ImpLocationService) ListAll(ctx context.Context, opt *service.LocationOptions) ([]*dto.Location, error)
- func (inst *ImpLocationService) Remove(ctx context.Context, id dxo.LocationID) error
- func (inst *ImpLocationService) Update(ctx context.Context, id dxo.LocationID, o1 *dto.Location) (*dto.Location, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImpLocationDao ¶
type ImpLocationDao struct { markup.Component `id:"LocationDAO"` Agent dbagent.GormDBAgent `inject:"#GormDBAgent"` TrashService service.TrashService `inject:"#TrashService"` UUIDGenService service.UUIDGenService `inject:"#UUIDGenService"` }
ImpLocationDao ...
func (*ImpLocationDao) Find ¶
func (inst *ImpLocationDao) Find(id dxo.LocationID) (*entity.Location, error)
Find ...
func (*ImpLocationDao) FindByPath ¶
func (inst *ImpLocationDao) FindByPath(path string) (*entity.Location, error)
FindByPath ...
func (*ImpLocationDao) ListAll ¶
func (inst *ImpLocationDao) ListAll() ([]*entity.Location, error)
ListAll ...
func (*ImpLocationDao) Remove ¶
func (inst *ImpLocationDao) Remove(id dxo.LocationID) error
Remove ...
func (*ImpLocationDao) Update ¶
func (inst *ImpLocationDao) Update(id dxo.LocationID, o1 *entity.Location) (*entity.Location, error)
Update ...
type ImpLocationService ¶
type ImpLocationService struct { markup.Component `id:"LocationService"` DAO dao.LocationDAO `inject:"#LocationDAO"` }
ImpLocationService ...
func (*ImpLocationService) Find ¶
func (inst *ImpLocationService) Find(ctx context.Context, id dxo.LocationID, opt *service.LocationOptions) (*dto.Location, error)
Find ...
func (*ImpLocationService) FindByPath ¶
func (inst *ImpLocationService) FindByPath(ctx context.Context, path string, opt *service.LocationOptions) (*dto.Location, error)
FindByPath ...
func (*ImpLocationService) Insert ¶
func (inst *ImpLocationService) Insert(ctx context.Context, o1 *dto.Location) (*dto.Location, error)
Insert ...
func (*ImpLocationService) InsertOrFetch ¶
func (inst *ImpLocationService) InsertOrFetch(ctx context.Context, o1 *dto.Location, opt *service.LocationOptions) (*dto.Location, error)
InsertOrFetch ...
func (*ImpLocationService) ListAll ¶
func (inst *ImpLocationService) ListAll(ctx context.Context, opt *service.LocationOptions) ([]*dto.Location, error)
ListAll ...
func (*ImpLocationService) Remove ¶
func (inst *ImpLocationService) Remove(ctx context.Context, id dxo.LocationID) error
Remove ...
Click to show internal directories.
Click to hide internal directories.