Skip to content

Commit 4941d5d

Browse files
modify the generate command
1 parent 63ae00d commit 4941d5d

File tree

4 files changed

+29
-417
lines changed

4 files changed

+29
-417
lines changed

example/Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
generate:
2-
protoc --go_out=pkg --go_opt=paths=source_relative --proto_path=proto \
3-
--structtag_out=internal --structtag_opt=paths=source_relative,dbtag=bun \
4-
proto/*.proto
2+
protoc --structtag_out=internal --structtag_opt=paths=source_relative proto/*.proto

example/internal/entity_structtags.pb.go renamed to example/internal/github.com/theluckiestsoul/protoc-gen-structtag/example/pkg/proto/entity_structtags.pb.go

File renamed without changes.

example/internal/proto/entity_structtags.pb.go

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)