Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct {
ID string
Email string
Password string
CreatedAt time.Time
LoggedInAt time.Time
}
func NewAccount ¶
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
func NewUserRepository ¶
func NewUserRepository(pg *pgxpool.Pool) *Repository
func (*Repository) AddAccount ¶
func (*Repository) FindAccountByID ¶
type RepositoryInterface ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func NewService(repo RepositoryInterface) *Service
func (*Service) CreateAccount ¶
Click to show internal directories.
Click to hide internal directories.