impldao

package
v0.1.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExampleDaoImpl

type ExampleDaoImpl struct {
	markup.Component `id:"ExampleDAO"`

	Agent          dbagent.GormDBAgent    `inject:"#GormDBAgent"`
	TrashService   service.TrashService   `inject:"#TrashService"`
	UUIDGenService service.UUIDGenService `inject:"#UUIDGenService"`
}

ExampleDaoImpl ...

func (*ExampleDaoImpl) Find

func (inst *ExampleDaoImpl) Find(id dxo.ExampleID) (*entity.Example, error)

Find ...

func (*ExampleDaoImpl) Insert

func (inst *ExampleDaoImpl) Insert(o *entity.Example) (*entity.Example, error)

Insert ...

func (*ExampleDaoImpl) ListAll

func (inst *ExampleDaoImpl) ListAll() ([]*entity.Example, error)

ListAll ...

func (*ExampleDaoImpl) Remove

func (inst *ExampleDaoImpl) Remove(id dxo.ExampleID) error

Remove ...

func (*ExampleDaoImpl) Update

func (inst *ExampleDaoImpl) Update(id dxo.ExampleID, o *entity.Example) (*entity.Example, error)

Update ....

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL