Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
Repository that access to a PostgreSQL database
func (*Repository) Count ¶
func (r *Repository) Count(value string) int
Count the number of phones that have the given phone number
func (*Repository) GetAll ¶
func (r *Repository) GetAll() []*phone.Phone
GetAll phones from PostgreSQL database
Click to show internal directories.
Click to hide internal directories.