Documentation ¶
Overview ¶
Package db contains implementations for accessing back-end databases.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config provides database connection information.
func InitConfig ¶
InitConfig initializes the database configuration from external settings.
type Database ¶
Database represents the data access object.
func (*Database) CreatePlace ¶
CreatePlace add the provided place to the database.
func (*Database) DeletePlaceByID ¶
DeletePlaceByID removes a single place from the database given its identifier.
func (*Database) GetPlaceByID ¶
GetPlaceByID retrieves a single place given its identifier.
Click to show internal directories.
Click to hide internal directories.