Core

/main.go (310 B)

 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package main // import {{{ .Package }}}

import (
"{{{ .Package }}}/app"
"{{{ .Package }}}/app/cmd"
)

var (
version = "{{{ .Version }}}" // updated by bin/tag.sh and ldflags
commit = ""
date = "unknown"
)

func main() {
cmd.Entrypoint(&app.BuildInfo{Version: version, Commit: commit, Date: date})
}