更新时间:2023-11-18 23:26:46
发送github凭据以获取:
Send github credentials to go get:
git config credential.helper '!f() { sleep 1; echo "username=${GIT_USER}\npassword=${GIT_PASSWORD}"; }; f'
export GIT_USER=github_user
export GIT_PASSWORD=github_password_or_token
go get github.com/foo/libpackage