入口文件重命名

pull/21/merge
ouqiang 2017-03-23 13:59:11 +08:00
parent 3a3ae7e024
commit 291ea91144
1 changed files with 0 additions and 28 deletions

View File

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