package
0.0.0-20200601210633-2d6eab052d90
Repository: https://github.com/efforg/starttls-backend.git
Documentation: pkg.go.dev
# Functions
InitSQLDatabase creates a DB connection based on information in a Config, and returns a pointer the resulting SQLDatabase object.
LoadEnvironmentVariables loads relevant environment variables into a Config object.
# Structs
Config is a configuration struct for a Database.
SQLDatabase is a Database interface backed by postgresql.
# Interfaces
Database interface: These are the things that the Database should be able to do.