Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AppHostname = "http-test.net" Environment = "development" StaticBasePath = "" StartTime = time.Now() DBuser = "postgres" DBpass = "" DBname = "gotestserver" DBhost = "localhost" )
View Source
var Log = zerolog.New(&lumberjack.Logger{
Filename: "/log/error.log",
MaxSize: 50,
MaxBackups: 30,
MaxAge: 90,
}).With().Timestamp().Logger()
Log sets log file location and options
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.