49 Star 236 Fork 53

aoe5188 / foot

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
FOOT000.go 557 Bytes
一键复制 编辑 原始数据 按行查看 历史
package main
import (
"os"
"strings"
launch2 "tesou.io/platform/foot-parent/foot-core/launch"
"tesou.io/platform/foot-parent/foot-spider/launch"
)
func init() {
}
func main() {
var input string
if len(os.Args) > 1 {
input = strings.ToLower(os.Args[1])
} else {
input = ""
}
switch input {
case "exit\n", "exit", "quit\n", "quit":
break;
case "\n", "":
case "init\n", "init":
launch2.GenTable()
launch2.TruncateTable()
case "spider\n", "spider":
launch.Spider()
case "analy\n", "analy":
launch2.Analy(false)
default:
}
}
Go
1
https://gitee.com/aoe5188/foot.git
git@gitee.com:aoe5188/foot.git
aoe5188
foot
foot
master

搜索帮助