Documentation ¶ Index ¶ Variables func LoadConfig(configPath string) error func Validate() error Constants ¶ This section is empty. Variables ¶ View Source var ( DB_URL string // Database URL. SERVER_ADDR string // Server address. FILES_DIR string // Directory where the images would be saved. CORS_ALLOW_ORIGIN string // CORS Allow-Origin value. LOGGING_FILE string // Log file path. ) Functions ¶ func LoadConfig ¶ func LoadConfig(configPath string) error LoadConfig loads config from file and environment variables. func Validate ¶ func Validate() error Validate validates the config values. Types ¶ This section is empty. Source Files ¶ View all Source files config.go Click to show internal directories. Click to hide internal directories.