package
Version:
v0.0.0-...-8fe99ee
Opens a new window with list of versions in this module.
Published: Nov 26, 2022
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type App struct {
Env string `mapstructure:"ENV"`
GinMode string `mapstructure:"GIN_MODE" default:"release"`
Port string `mapstructure:"PORT"`
TmdbApiKey string `mapstructure:"TMDB_API_KEY"`
}
type Database struct {
Hostname string `mapstructure:"MYSQL_HOSTNAME"`
Port string `mapstructure:"MYSQL_PORT"`
Username string `mapstructure:"MYSQL_USERNAME"`
Password string `mapstructure:"MYSQL_PASSWORD"`
Database string `mapstructure:"MYSQL_DATABASE"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.