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."git@github.com:".insteadOf "https://github.com"
go env -w GOPRIVATE=github.com/erictik
  1. install
go get github.com/erictik/pbs