mirror of
https://github.com/linka-cloud/grpc.git
synced 2025-06-22 09:12:28 +00:00
remove transport draft, add grpc web and gateway support
This commit is contained in:
31
tools.go
Normal file
31
tools.go
Normal file
@ -0,0 +1,31 @@
|
||||
//go:build tools
|
||||
// +build tools
|
||||
|
||||
// Copyright 2021 Linka Cloud All rights reserved.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
_ "github.com/alta/protopatch/cmd/protoc-gen-go-patch"
|
||||
_ "github.com/envoyproxy/protoc-gen-validate"
|
||||
_ "github.com/golang/protobuf/protoc-gen-go"
|
||||
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway"
|
||||
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2"
|
||||
_ "github.com/planetscale/vtprotobuf/cmd/protoc-gen-go-vtproto"
|
||||
_ "go.linka.cloud/protoc-gen-defaults"
|
||||
_ "go.linka.cloud/protoc-gen-go-fields"
|
||||
_ "go.linka.cloud/protofilters"
|
||||
_ "google.golang.org/grpc/cmd/protoc-gen-go-grpc"
|
||||
)
|
Reference in New Issue
Block a user