Manually run goimports in update-go-pbs.sh (#2014)

https://github.com/gogo/protobuf/issues/554
This commit is contained in:
Preston Van Loon
2019-03-17 16:19:38 -04:00
committed by GitHub
parent bb1389e362
commit 8d52c52ea4

View File

@@ -22,3 +22,8 @@ do
destination=${file_list[i]#*$searchstring}
cp -R -L "${file_list[i]}" "$destination"
done
# Run goimports on newly generated protos until gogo protobuf's proto-gen-go
# formats imports properly.
# https://github.com/gogo/protobuf/issues/554
goimports -w proto/**/*.pb.go