Open sioncojp opened 2 years ago
I also get this error too, with build.go
exist
//go:build tools
// +build tools
package main
import (
_ "github.com/envoyproxy/protoc-gen-validate"
_ "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"
)
Looks like we need to ignore build tools
This is the file for
go install
to keep it from disappearing withgo mod tidy
. See below for detailsRunning this file with the
-rm-unused
option will result in an error.Is there any way to avoid this error?