Documentation ¶
Index ¶
- type UserGateway
- func (g *UserGateway) Create(p domain.CreateJson) error
- func (g *UserGateway) Delete(id domain.UserID) error
- func (g *UserGateway) GetAll() (domain.Entities, error)
- func (g *UserGateway) GetById(id domain.UserID) (domain.Entity, error)
- func (g *UserGateway) Update(id domain.UserID, p domain.CreateJson) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserGateway ¶
type UserGateway struct {
// contains filtered or unexported fields
}
func NewUserGateWay ¶
func NewUserGateWay(r repository.RepositoryInterface) *UserGateway
func (*UserGateway) Create ¶
func (g *UserGateway) Create(p domain.CreateJson) error
func (*UserGateway) Update ¶
func (g *UserGateway) Update(id domain.UserID, p domain.CreateJson) error
Click to show internal directories.
Click to hide internal directories.