Skip to content

Commit

Permalink
vtproto (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
ohkinozomu authored Dec 4, 2023
1 parent 0df6a17 commit 140d779
Show file tree
Hide file tree
Showing 3 changed files with 2,503 additions and 22 deletions.
12 changes: 11 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,12 @@
proto:
protoc -I=./pkg/data --go_out=./pkg/data --go_opt=paths=source_relative ./pkg/data/data.proto
protoc -I=./pkg/data --go_out=./pkg/data --go_opt=paths=source_relative ./pkg/data/data.proto

vtproto:
protoc -I=./pkg/data \
--go_out=./pkg/data \
--go_opt=paths=source_relative \
--go-vtproto_out=./pkg/data \
--plugin go-vtproto=protoc-gen-go-vtproto \
--go-vtproto_opt=features=marshal+unmarshal+size \
--go-vtproto_opt=paths=source_relative \
./pkg/data/data.proto
Loading

0 comments on commit 140d779

Please sign in to comment.