Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Postgresql ¶
type Postgresql struct{}
Postgresql carries the connection to the database, and the methods to interact with it.
func (Postgresql) Fetch ¶
func (p Postgresql) Fetch() error
Fetch fetches foo entities from the database. In our example, we simulate an network error which we would not like to expose on HTTP responses.
Click to show internal directories.
Click to hide internal directories.