moved back to a main.go file in root

This commit is contained in:
Torkel Ödegaard
2014-11-28 11:51:34 +01:00
parent d8d5516e24
commit 50164324f3
6 changed files with 22 additions and 45 deletions
-24
View File
@@ -1,24 +0,0 @@
package main
import (
"os"
"runtime"
"github.com/codegangsta/cli"
)
const APP_VER = "0.1.0 Alpha"
func init() {
runtime.GOMAXPROCS(runtime.NumCPU())
}
func main() {
app := cli.NewApp()
app.Name = "Grafana Pro"
app.Usage = "Grafana Pro Service"
app.Version = APP_VER
app.Commands = []cli.Command{CmdWeb}
app.Flags = append(app.Flags, []cli.Flag{}...)
app.Run(os.Args)
}
@@ -1,7 +1,7 @@
// Copyright 2014 Unknwon
// Copyright 2014 Torkel Ödegaard
package main
package cmd
import (
"fmt"