Migrate from glide to official dependencies management tool: Go Module (#1136)

This commit is contained in:
Ta-Ching Chen
2019-04-04 22:33:26 +08:00
committed by GitHub
parent 913888a29d
commit 1662bafb50
13 changed files with 398 additions and 600 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ find_files() {
}
GOFMT="gofmt -s"
bad_files=$(find_files | grep -v '.glide/cache' | xargs $GOFMT -l)
bad_files=$(find_files | xargs $GOFMT -l)
if [[ -n "${bad_files}" ]]; then
echo "!!! '$GOFMT' needs to be run on the following files: "
echo "${bad_files}"