package
Version:
v0.0.0-...-a5e1e4d
Opens a new window with list of versions in this module.
Published: Jun 25, 2023
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
DB_TYPE_MYSQL = "mysql"
DB_TYPE_NEO4J = "neo4j"
)
type Database struct {
Type string `env:"DB_TYPE"`
Name string `env:"DB_NAME"`
Username string `env:"DB_USERNAME"`
Password string `env:"DB_PASSWORD"`
Hostname string `env:"DB_HOSTNAME"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.