Skip to content

erictik/pbs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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