merp/main.go

27 lines
481 B
Go

//3456789112345676892123456789312345678941234567895123456789612345678971234567898
package main
import "github.com/rs/zerolog/log"
var Version string
var Buildtime string
var Builduser string
var Buildarch string
var Appname string
func main() {
initLogging()
identify()
serve()
}
func identify() {
log.Info().
Str("app", Appname).
Str("version", Version).
Str("buildarch", Buildarch).
Str("buildtime", Buildtime).
Str("builduser", Builduser).
Msg("starting")
}