1 Star 0 Fork 0

MrWu/croc

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
main.go 666 Bytes
一键复制 编辑 原始数据 按行查看 历史
Zack Scholl 提交于 2020-09-03 14:19 . don't tag version before commiting
package main
//go:generate go run src/install/updateversion.go
//go:generate git commit -am "bump $VERSION"
//go:generate git tag -af v$VERSION -m "v$VERSION"
import (
"fmt"
"github.com/schollz/croc/v8/src/cli"
)
func main() {
// "github.com/pkg/profile"
// go func() {
// for {
// f, err := os.Create("croc.pprof")
// if err != nil {
// panic(err)
// }
// runtime.GC() // get up-to-date statistics
// if err := pprof.WriteHeapProfile(f); err != nil {
// panic(err)
// }
// f.Close()
// time.Sleep(3 * time.Second)
// fmt.Println("wrote profile")
// }
// }()
if err := cli.Run(); err != nil {
fmt.Println(err)
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/NiuNiuAndJuJu/croc.git
git@gitee.com:NiuNiuAndJuJu/croc.git
NiuNiuAndJuJu
croc
croc
9

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385