feature/v2.2.0 (#2154)

This commit is contained in:
John Guo
2022-09-26 22:11:13 +08:00
committed by GitHub
parent 9dc97f4b0d
commit 141ca62c6d
147 changed files with 7965 additions and 1806 deletions

6
.github/workflows/before_script.sh vendored Normal file
View File

@ -0,0 +1,6 @@
#!/usr/bin/env bash
find . -name "*.go" | xargs gofmt -w
git diff --name-only --exit-code || if [ $? != 0 ]; then echo "Notice: gofmt check failed,please gofmt before pr." && exit 1; fi
echo "gofmt check pass."
sudo echo "127.0.0.1 local" | sudo tee -a /etc/hosts