Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DBConnectString is the statement to connect the application with the database DBConnectString = "" // DB_PORT represents the database port DB_PORT = 0 // API_PORT API_PORT = 0 )
Functions ¶
func LoadEnvs ¶
func LoadEnvs(arg string)
LoadEnvs will initialize the environment variables for the application. Use "testPackage" or "testMain" for loading test environment for packages or main
LoadEnvs("testPackage")
Use "dev" for loading development environment
LoadEnvs("dev")
And "prod for loading prod ready environment
LoadEnvs("prod")
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.