package
Version:
v0.0.0-...-7cb85a9
Opens a new window with list of versions in this module.
Published: Aug 15, 2024
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Default contains default env arguments.
type SQL struct {
DSN string `env:"BOT2_DB_DSN"`
Migrate bool `env:"BOT2_DB_MIGRATE"`
}
SQL contains SQL database flags.
Open connects and pings a postgres database.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.