mirror of
https://github.com/luxfi/zapdb.git
synced 2026-10-30 15:12:20 +00:00
Switch to gogofaster as it does not produce the extra XXX_ fields that increase up the space of protobuf.
9 lines
310 B
Bash
Executable File
9 lines
310 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Run this script from its directory, so that badgerpb2.proto is where it's expected to
|
|
# be.
|
|
|
|
# You might need to go get -v github.com/gogo/protobuf/...
|
|
go get -v github.com/gogo/protobuf/protoc-gen-gogofaster
|
|
protoc --gogofaster_out=. --gogofaster_opt=paths=source_relative -I=. badgerpb3.proto
|