package
0.0.0-20230422003148-015e340ad081
Repository: https://github.com/asankov/gira.git
Documentation: pkg.go.dev
# Functions
Init runs the migrations, needed to have a working Gira DB.
InitFromDirectory runs the migrations, needed to have a working Gira DB.
MigrationsDirectory returns the path to the directory containing the SQL migrations.
NewDB builds a new *sql.DB from the passed options.
# Variables
ErrDBHostMandatory is the error that indicates that the DB host is mandatory, but has not been set.
ErrDBNameMandatory is the error that indicates that the DB name is mandatory, but has not been set.
ErrDBPasswordMandatory is the error that indicates that the DB password is mandatory, but has not been set.
ErrDBPortMandatory is the error that indicates that the DB port is mandatory, but has not been set.
ErrDBUserMandatory is the error that indicates that the DB user is mandatory, but has not been set.