mirror of https://github.com/etcd-io/bbolt.git
Script that fixes all goimports.
Signed-off-by: Piotr Tabor <ptab@google.com>pull/361/head
parent
9a6782574d
commit
cec7209fa8
|
@ -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…
Reference in New Issue