Skip to content

Commit

Permalink
build with protoc 28.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dmachard committed Sep 14, 2024
1 parent 363ca09 commit ab9a545
Show file tree
Hide file tree
Showing 2 changed files with 198 additions and 167 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ go mod tidy
Download the latest release of protoc and protoc-gen-go

```bash
export PROTOC_VER=25.2
export PROTOC_VER=28.1
export GITHUB_URL=https://github.com/protocolbuffers
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
wget $GITHUB_URL/protobuf/releases/download/v$PROTOC_VER/protoc-$PROTOC_VER-linux-x86_64.zip
Expand All @@ -108,5 +108,5 @@ Generate the golang package

```bash
cd dnsmessage/
../bin/protoc --proto_path=. --go_out=../ --go_opt=paths=source_relative --plugin protoc-gen-go=${GOBIN}/protoc-gen-go dnsmessage.proto
../bin/protoc --proto_path=. --go_out=../ --go_opt=paths=source_relative --plugin protoc-gen-go=$(go env GOPATH)/bin/protoc-gen-go dnsmessage.proto
```
Loading

0 comments on commit ab9a545

Please sign in to comment.