Created
May 19, 2019 09:14
-
-
Save BNPrashanth/036a40b65740e461f5b64a8242f50810 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package config | |
// Configurations exported | |
type Configurations struct { | |
Server ServerConfigurations | |
Database DatabaseConfigurations | |
EXAMPLE_PATH string | |
EXAMPLE_VAR string | |
} | |
// ServerConfigurations exported | |
type ServerConfigurations struct { | |
Port int | |
} | |
// DatabaseConfigurations exported | |
type DatabaseConfigurations struct { | |
DBName string | |
DBUser string | |
DBPassword string | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment