Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPgRepository ¶
type IPgRepository interface { // GetName returns the name of the barista. GetName() string }
func NewPgRepository ¶
func NewPgRepository(dbConn *gorm.DB) IPgRepository
type IUseCase ¶
type IUseCase interface { // GetName returns the name of the barista. GetName() string }
func NewUseCase ¶
func NewUseCase(pgRepository IPgRepository) IUseCase
type PgRepository ¶
func (*PgRepository) GetName ¶
func (r *PgRepository) GetName() string
GetName returns the name of the repository.
Click to show internal directories.
Click to hide internal directories.