Documentation
¶
Index ¶
Constants ¶
View Source
const ( // PORT specifies the port where the server will be listening // Required for dev, and prod PORT = "PORT" // ENV specifies the environment where the server will be running // Required for dev, and prod ENV = "ENV" // DB_URI specifies the URI for the database // Required for dev, and prod DB_URI = "DB_URI" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvConfig ¶
type EnvConfig struct {
// contains filtered or unexported fields
}
EnvConfig is the configuration for the environment variables
var ( // EnvVars is the struct holding the environment variables EnvVars *EnvConfig = newEnvConfig() )
Click to show internal directories.
Click to hide internal directories.