package
1.6.9
Repository: https://github.com/openziti/ziti.git
Documentation: pkg.go.dev

# README

Prerequisites

  1. Install the protoc binary from: https://github.com/protocolbuffers/protobuf/releases
    1. The release should include an include folder that needs to be next to the protoc binary
  2. Install the protoc plugin for Go go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
  3. Ensure protoc is on your path.
  4. Ensure your Go bin directory is on your path

Generate Go Code

Two options, run the command manually or use go generate

Go Generate

  1. Navigate to the root project directory edge
  2. run go generate ./common/pb/edge_ctrl_pb/... or go generate \common\pb\edge_ctrl_pb\...

Note: Running a naked go generate will trigger all go:generate tags in the project, which you most likely do not want

Manually

  1. Navigate to the project root
  2. Run: protoc -I ./common/pb/edge_ctrl_pb/ ./common/pb/edge_ctrl_pb/edge_ctrl.proto --go_out=./pb/edge_ctrl_pb