feat: bump buf

main
sudo pacman -Syu 2023-06-30 15:46:42 +07:00
parent 679919edd7
commit e1433d3740
2 changed files with 4 additions and 6 deletions

View File

@ -88,7 +88,6 @@
<span class="pl-c">// +build tools</span>
<span class="pl-k">import</span> (
_ <span class="pl-s">"github.com/golang/protobuf/protoc-gen-go"</span>
_ <span class="pl-s">"github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway"</span>
_ <span class="pl-s">"github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger"</span>
_ <span class="pl-s">"github.com/kei2100/protoc-gen-marshal-zap/plugin/protoc-gen-marshal-zap"</span>
@ -115,9 +114,9 @@
<span class="pl-ent">plugins</span>:
- <span class="pl-ent">plugin</span>: <span class="pl-s">buf.build/grpc/go:v1.3.0</span>
<span class="pl-ent">out</span>: <span class="pl-s">pkg</span>
- <span class="pl-ent">plugin</span>: <span class="pl-s">buf.build/protocolbuffers/go:v1.30.0</span>
- <span class="pl-ent">plugin</span>: <span class="pl-s">buf.build/protocolbuffers/go:v1.31.0</span>
<span class="pl-ent">out</span>: <span class="pl-s">pkg</span>
- <span class="pl-ent">plugin</span>: <span class="pl-s">buf.build/bufbuild/validate-go:v1.0.1</span>
- <span class="pl-ent">plugin</span>: <span class="pl-s">buf.build/bufbuild/validate-go:v1.0.2</span>
<span class="pl-ent">out</span>: <span class="pl-s">pkg</span>
<span class="pl-ent">opt</span>:
- <span class="pl-s">lang=go</span>

View File

@ -21,7 +21,6 @@ FYI, I use:
// +build tools
import (
_ "github.com/golang/protobuf/protoc-gen-go"
_ "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway"
_ "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger"
_ "github.com/kei2100/protoc-gen-marshal-zap/plugin/protoc-gen-marshal-zap"
@ -52,9 +51,9 @@ version: v1
plugins:
- plugin: buf.build/grpc/go:v1.3.0
out: pkg
- plugin: buf.build/protocolbuffers/go:v1.30.0
- plugin: buf.build/protocolbuffers/go:v1.31.0
out: pkg
- plugin: buf.build/bufbuild/validate-go:v1.0.1
- plugin: buf.build/bufbuild/validate-go:v1.0.2
out: pkg
opt:
- lang=go