前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
go-bindata -o=res/res.go -pkg=res res/ res/doc res/json res/template
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o release/ztf.exe src/ztf.go GO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o release/ztf-linux src/ztf.go CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o release/ztf-mac src/ztf.go rm -rf ztf/demo rm -rf ztf/conf rm -rf ztf/log mkdir ztf/log cp -r conf ztf/ cp -r demo ztf/ zip -r ztf/ztf-win-2.0.beta1.zip ztf/ztf.exe ztf/demo ztf/conf ztf/log zip -r ztf/ztf-linux-2.0.beta1.zip ztf/ztf-linux ztf/demo ztf/conf ztf/log zip -r ztf/ztf-mac-2.0.beta1.zip ztf/ztf-mac ztf/demo ztf/conf ztf/log
error_log(json_encode($_POST, JSON_FORCE_OBJECT)); pip install -i https://pypi.tuna.tsinghua.edu.cn/simple requests