mirror of
https://github.com/etcd-io/bbolt.git
synced 2025-04-28 22:09:37 +00:00
Script that fixes all goimports.
Signed-off-by: Piotr Tabor <ptab@google.com>
This commit is contained in:
parent
9a6782574d
commit
cec7209fa8
3
scripts/fix.sh
Executable file
3
scripts/fix.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
go list --f '{{with $d:=.}}{{range .GoFiles}}{{$d.Dir}}/{{.}}{{"\n"}}{{end}}{{end}}' ./... | xargs go run golang.org/x/tools/cmd/goimports@latest -w -local go.etcd.io
|
Loading…
x
Reference in New Issue
Block a user