Documentation
¶
Overview ¶
Package database exposes the postgres database
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNullInt64 ¶
func NewNullString ¶
func NewNullString(s string) sql.NullString
Types ¶
type DatabaseService ¶
func NewDatabaseService ¶
func NewDatabaseService(dsn string) (*DatabaseService, error)
func (*DatabaseService) Close ¶
func (s *DatabaseService) Close() error
func (*DatabaseService) SomeQuery ¶
func (s *DatabaseService) SomeQuery() (count uint64, err error)
Directories
¶
Path | Synopsis |
---|---|
Package migrations contains all the migration files
|
Package migrations contains all the migration files |
Package vars contains the database variables such as dynamic table names
|
Package vars contains the database variables such as dynamic table names |
Click to show internal directories.
Click to hide internal directories.