šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
Sign inDemoInstall
Socket

github.com/wung-s/routing

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/wung-s/routing

v0.0.0-20210703001241-462a51635aac
Source
Go
Version published
Created
Source

Routing Service API Contract

References

  • Data Types
  • Working with null values

Pre-requisite for code generation

In the /rpc directory, for each package, all the *.go files are generated from the *.proto file.
Important: The generated *.go files must NOT be manually edited. To make changes, update the *.proto file and re-run the command below. This will re-generate and update the *.go files

Follow the installation steps linked here before running the code generation commands below

Command to generate code

// generate the Go files from the proto files
protoc --twirp_out=. --go_out=. <path-to-the-proto-file>

Example:

protoc --twirp_out=. --go_out=. rpc/helloworld/service.proto

FAQs

Package last updated on 03 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts