grafana/pkg/cmd/grafana-server/main.go

23 lines
460 B
Go
Raw Normal View History

2014-08-08 18:35:15 +08:00
package main
import (
"os"
"github.com/grafana/grafana/pkg/cmd/grafana-server/commands"
2014-08-08 18:35:15 +08:00
)
// The following variables cannot be constants, since they can be overridden through the -X link flag
var version = "9.2.0"
var commit = "NA"
var buildBranch = "main"
var buildstamp string
2014-08-08 18:35:15 +08:00
2014-10-04 19:33:20 +08:00
func main() {
os.Exit(commands.RunServer(commands.ServerOptions{
Version: version,
Commit: commit,
BuildBranch: buildBranch,
BuildStamp: buildstamp,
}))
}