github.com/ryanbennettvoid/go-swagger@v0.18.1-0.20190104015444-3854bbbe2392/hack/format.sh (about)

     1  #!/bin/bash
     2  
     3  find cmd -name "*.go" -exec goimports -w {} \;
     4  find generator -name "*.go" -exec goimports -w {} \;
     5  find scan -name "*.go" -exec goimports -w {} \;