github.com/ecodeclub/eorm@v0.0.2-0.20231001112437-dae71da914d0/script/fmt.sh (about)

     1  #!/bin/sh
     2  
     3  # shellcheck disable=SC2044
     4  for item in $(find . -type f -name '*.go' -not -path './.idea/*'); do
     5    goimports -l -w "$item";
     6  done