dao

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RepositoryDAO

type RepositoryDAO interface {
	Insert(e *entity.Repository) (*entity.Repository, error)
	GetAll() ([]*entity.Repository, error)
	GetOne(id string) (*entity.Repository, error)
	Update(id string, e *entity.Repository) (*entity.Repository, error)
	Delete(id string) error
}

RepositoryDAO ...

type RepositoryDaoImpl

type RepositoryDaoImpl struct {
	markup.Component `id:"repository-dao"`

	Repo2 repository.Repository `inject:"#repository-repository"`
}

RepositoryDaoImpl ...

func (*RepositoryDaoImpl) Delete

func (inst *RepositoryDaoImpl) Delete(id string) error

Delete ...

func (*RepositoryDaoImpl) GetAll

func (inst *RepositoryDaoImpl) GetAll() ([]*entity.Repository, error)

GetAll ...

func (*RepositoryDaoImpl) GetOne

func (inst *RepositoryDaoImpl) GetOne(id string) (*entity.Repository, error)

GetOne ...

func (*RepositoryDaoImpl) Insert

Insert ...

func (*RepositoryDaoImpl) Update

func (inst *RepositoryDaoImpl) Update(id string, e *entity.Repository) (*entity.Repository, error)

Update ...

type TaskDAO

type TaskDAO interface {
}

type UserDAO

type UserDAO interface {
}

Jump to

Keyboard shortcuts

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