protobuf-repository
v1.0.2
Published
Protobuf definitions and generated source code protobuf for Go and Node.js.
Downloads
3
Readme
Protobuf Repository
Protobuf definitions and generated source code protobuf for Go and Node.js.
Installation
Go
To use the generated protobuf code in Go, you can install it using the go get
command:
go get github.com/Yasinqurni/protobuf-repository/go/pb
After running the command, you can import the package in your Go project as follows:
import "github.com/Yasinqurni/protobuf-repository/go/pb"
Node.js
To use the generated protobuf code in Node.js, you can install it using npm:
npm install protobuf-repository
After installation, you can import the generated protobuf code in your Node.js project like this:
const pb = require('protobuf-repository');