Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ApplicationName string
ApplicationName is the currently running program
Functions ¶
func EnvironmentConfig ¶
func EnvironmentConfig()
EnvironmentConfig loads the .env file for the whole program. Use os.Getenv("LABEL_NAME") to access.
func LogCommon ¶
LogCommon returns a logger containing the optional error, application, and function name of the caller.
func Once ¶
Once binds to the given port on localhost and does nothing forever. Useful for when we want a single instances of an app at a time.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.