Documentation ¶
Overview ¶
Package config generate the environment of the API
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GAppName = "apigoboot"
GAppName define the app name
View Source
var GAppUrl string
GAppUrl is the application url
View Source
var GDevEnv bool
GDevEnv define if environment is in dev mode
View Source
var GPort string
GPort is the application current port
View Source
var GUnitTestingEnv bool
GUnitTestingEnv define if environment is in testing mode
Functions ¶
func SetToTestingEnv ¶
func SetToTestingEnv()
SetToTestingEnv set the test environment, this need to be called before testing to prevent the development database to be used
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.