gen.sh raw

   1  #!/bin/bash
   2  
   3  # Run this script from its directory, so that badgerpb4.proto is where it's expected to
   4  # be.
   5  
   6  go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.31.0
   7  protoc --go_out=. --go_opt=paths=source_relative badgerpb4.proto
   8