protobuf code generator
- The first use requires adding a private package.
# .npmrc Write in the file @erictik:registry=https://npm.pkg.github.com/
echo "@erictik:registry=https://npm.pkg.github.com/" > .npmrc
#npm login
npm login --registry=https://npm.pkg.github.com
#> Username: USERNAME
#> Password: TOKEN
#> Email: PUBLIC-EMAIL-ADDRESS
- install
npm install --save @erictik/pbs
- The first use requires adding a private package.
git config --global url."[email protected]:".insteadOf "https://github.com"
go env -w GOPRIVATE=github.com/erictik
- install
go get github.com/erictik/pbs