tab替换为空格

pull/21/merge
ouqiang 2017-04-02 10:34:47 +08:00
parent 9c62f3034b
commit 702db588f2
1 changed files with 12 additions and 12 deletions

24
main.go
View File

@ -7,22 +7,22 @@ package main
--------------------------------------------------------*/ --------------------------------------------------------*/
import ( import (
"github.com/urfave/cli" "github.com/urfave/cli"
"os" "os"
"github.com/ouqiang/cron-scheduler/cmd" "github.com/ouqiang/cron-scheduler/cmd"
) )
const AppVersion = "0.0.1" const AppVersion = "0.0.1"
func main() { func main() {
app := cli.NewApp() app := cli.NewApp()
app.Name = "cron-scheduler" app.Name = "cron-scheduler"
app.Usage = "cron-scheduler service" app.Usage = "cron-scheduler service"
app.Version = AppVersion app.Version = AppVersion
app.Commands = []cli.Command{ app.Commands = []cli.Command{
cmd.CmdWeb, cmd.CmdWeb,
} }
app.Flags = append(app.Flags, []cli.Flag{}...) app.Flags = append(app.Flags, []cli.Flag{}...)
app.Run(os.Args) app.Run(os.Args)
} }