merp/main.go

27 lines
481 B
Go
Raw Normal View History

2019-10-03 19:30:04 +00:00
//3456789112345676892123456789312345678941234567895123456789612345678971234567898
2019-11-07 08:51:35 +00:00
package main
2019-10-03 19:30:04 +00:00
2019-10-29 17:12:59 +00:00
import "github.com/rs/zerolog/log"
2019-10-03 19:30:04 +00:00
var Version string
var Buildtime string
var Builduser string
var Buildarch string
2019-10-25 16:17:14 +00:00
var Appname string
2019-10-03 19:30:04 +00:00
func main() {
2019-10-29 17:12:59 +00:00
initLogging()
identify()
serve()
}
func identify() {
log.Info().
Str("app", Appname).
Str("version", Version).
Str("buildarch", Buildarch).
Str("buildtime", Buildtime).
Str("builduser", Builduser).
Msg("starting")
}