2021年5月13日 星期四

Go Modules、Private Repository

go mod init github.com/okh8609/{PROJECT_NAME}

go env -w GOPRIVATE=github.com/okh8609


申請 Personal Access Token

git config --global url."https://$USERNAME:$ACCESS_TOKEN@github.com".insteadOf "https://github.com"




沒有留言:

張貼留言