github.com/waldiirawan/apm-agent-go/v2@v2.2.2/scripts/goimports.sh (about)

     1  #!/bin/sh
     2  
     3  dirs=$(find . -maxdepth 1 -type d \! \( -name '.*' -or -name vendor \))
     4  exec go run golang.org/x/tools/cmd/goimports $GOIMPORTSFLAGS -local go.elastic.co,github.com/elastic *.go $dirs