divan / gofresh

Keep your Go package dependencies fresh. Console tool for checking and updating package dependencies (imports).
141 stars 6 forks source link

Recursive check? #11

Closed gpopovic closed 8 years ago

gpopovic commented 8 years ago

Is it possible to check recursive libraries within folder?

Its just too slow to go from directory to directory

divan commented 8 years ago

Hi. Nope, there is no such feature, but it can easily be achieved with sh commands, like find.

for i in $(find $GOPATH/src/github.com/divan -depth 1 -type d); do
     cd $i && gofresh
done
gpopovic commented 8 years ago

Thanks