Documentation ¶
Index ¶
Examples ¶
Constants ¶
View Source
const Atio string = "Atio"
View Source
const Duration string = "Duration"
View Source
const Location string = "Location"
Variables ¶
This section is empty.
Functions ¶
func BuildConfig ¶
BuildConfig is used to build the Config struct which can be used to connect database. It pulls all the mandatoryFiels and optionalFields from environment variables.
Example ¶
testConfig := BuildConfig() fmt.Printf("User: %v", testConfig.User)
Output: User: Vishnu
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.