impldao

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 License: MIT Imports: 8 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"`
	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 ....

type RepositoryDaoImpl

type RepositoryDaoImpl struct {
	markup.Component `id:"LocalRepositoryDAO"`

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

RepositoryDaoImpl ...

func (*RepositoryDaoImpl) Find

Find ...

func (*RepositoryDaoImpl) FindByDotGit

func (inst *RepositoryDaoImpl) FindByDotGit(path string) (*entity.LocalRepository, error)

FindByDotGit ...

func (*RepositoryDaoImpl) FindByName

func (inst *RepositoryDaoImpl) FindByName(name string) (*entity.LocalRepository, error)

FindByName ...

func (*RepositoryDaoImpl) FindByPath

func (inst *RepositoryDaoImpl) FindByPath(path string) (*entity.LocalRepository, error)

FindByPath ...

func (*RepositoryDaoImpl) FindByUUID

func (inst *RepositoryDaoImpl) FindByUUID(uuid dxo.UUID) (*entity.LocalRepository, error)

FindByUUID ...

func (*RepositoryDaoImpl) FindByWorkingDir

func (inst *RepositoryDaoImpl) FindByWorkingDir(path string) (*entity.LocalRepository, error)

FindByWorkingDir ...

func (*RepositoryDaoImpl) Insert

Insert ...

func (*RepositoryDaoImpl) ListAll

func (inst *RepositoryDaoImpl) ListAll() ([]*entity.LocalRepository, error)

ListAll ...

func (*RepositoryDaoImpl) ListByIds added in v0.0.12

func (inst *RepositoryDaoImpl) ListByIds(ids []dxo.LocalRepositoryID) ([]*entity.LocalRepository, error)

ListByIds ...

func (*RepositoryDaoImpl) Remove

func (inst *RepositoryDaoImpl) Remove(id dxo.LocalRepositoryID) error

Remove ...

func (*RepositoryDaoImpl) Update

Update ...

Jump to

Keyboard shortcuts

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