Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PersonRepository ¶
type PersonRepository struct {
// contains filtered or unexported fields
}
func NewPersonRepository ¶
func NewPersonRepository(database *sql.DB) *PersonRepository
func (*PersonRepository) FindAll ¶
func (repository *PersonRepository) FindAll() []*Person
type PersonService ¶
type PersonService struct {
// contains filtered or unexported fields
}
func NewPersonService ¶
func NewPersonService(config *Config, repository *PersonRepository) *PersonService
func (*PersonService) FindAll ¶
func (service *PersonService) FindAll() []*Person
Click to show internal directories.
Click to hide internal directories.