github.com/jamescostian/go-swagger@v0.30.4-0.20221130163922-68364d6b567b/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 {} \;