Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 682 Bytes

README.md

File metadata and controls

38 lines (27 loc) · 682 Bytes

opb

protobuf code generator

js use

  1. 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
  1. install
 npm install --save @erictik/pbs

golang use

  1. 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
  1. install
go get github.com/erictik/pbs