mirror of
https://github.com/grafana/grafana.git
synced 2025-02-20 11:48:34 -06:00
23 lines
460 B
Go
23 lines
460 B
Go
package main
|
|
|
|
import (
|
|
"os"
|
|
|
|
"github.com/grafana/grafana/pkg/cmd/grafana-server/commands"
|
|
)
|
|
|
|
// The following variables cannot be constants, since they can be overridden through the -X link flag
|
|
var version = "7.5.0"
|
|
var commit = "NA"
|
|
var buildBranch = "main"
|
|
var buildstamp string
|
|
|
|
func main() {
|
|
os.Exit(commands.RunServer(commands.ServerOptions{
|
|
Version: version,
|
|
Commit: commit,
|
|
BuildBranch: buildBranch,
|
|
BuildStamp: buildstamp,
|
|
}))
|
|
}
|