Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Setting up different types of loggers for the application.
Functions ¶
func InitLogging ¶
func InitLogging(environment string)
InitLogging initializes logging for the application.
func RespondWithJSON ¶
func RespondWithJSON(w http.ResponseWriter, code int, payload interface{})
RespondWithJSON utitlity function to convert HTTP response data to JSON
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.