Skip to content

Commit 3fe3275

Browse files
committed
refs #13 protoc-gen-go-protobqに改名した
1 parent 4d7f8fe commit 3fe3275

File tree

5 files changed

+3
-9
lines changed

5 files changed

+3
-9
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.PHONY: install-tools
22
install-tools:
3-
go install ./cmd/protoc-gen-protobq
3+
go install ./cmd/protoc-gen-go-protobq
44
go install github.com/bufbuild/buf/cmd/buf@v1.47.2
55
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
66

buf.gen.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ plugins:
88
- remote: buf.build/protocolbuffers/go:v1.35.2
99
out: internal/protobuf
1010
opt: paths=source_relative
11-
- local: protoc-gen-protobq
11+
- local: protoc-gen-go-protobq
1212
out: internal/protobuf
1313
opt: paths=source_relative
File renamed without changes.

internal/codegen.go

-6
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,6 @@ func (g CodeGenerator) Gen() error {
9898
gf.P(" return res")
9999
gf.P("}")
100100
gf.P()
101-
102-
//for _, field := range msg.Fields {
103-
//fieldExt, _ := proto.GetExtension(field.Desc.Options(), protobq.E_MaterializedViewField).(*protobq.MaterializedViewField)
104-
//if fieldExt != nil {
105-
// gf.P(" res[\"", field.Desc.Name(), "\"] = mv.", field.GoName)
106-
//}
107101
}
108102
}
109103
return nil

internal/protobuf/example/example.protobq.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)