github.com/go-swagger/go-swagger@v0.31.0/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 {} \;