...

Text file src/github.com/redis/go-redis/v9/scripts/bump_deps.sh

Documentation: github.com/redis/go-redis/v9/scripts

     1PACKAGE_DIRS=$(find . -mindepth 2 -type f -name 'go.mod' -exec dirname {} \; \
     2  | sed 's/^\.\///' \
     3  | sort)
     4
     5for dir in $PACKAGE_DIRS
     6do
     7    printf "${dir}: go get -d && go mod tidy\n"
     8    (cd ./${dir} && go get -d && go mod tidy)
     9done

View as plain text