1// Copyright 2016 The etcd Authors 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15// +build tools 16 17// This file implements that pattern: 18// https://github.com/golang/go/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module 19// for etcd. Thanks to this file 'go mod tidy' does not removes dependencies. 20 21package tools 22 23import ( 24 _ "github.com/alexkohler/nakedret" 25 _ "github.com/chzchzchz/goword" 26 _ "github.com/coreos/license-bill-of-materials" 27 _ "github.com/gordonklaus/ineffassign" 28 _ "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway" 29 _ "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger" 30 _ "github.com/gyuho/gocovmerge" 31 _ "github.com/hexfusion/schwag" 32 _ "github.com/mdempsky/unconvert" 33 _ "github.com/mgechev/revive" 34 _ "github.com/mikefarah/yq/v3" 35 _ "go.etcd.io/protodoc" 36 _ "honnef.co/go/tools/cmd/staticcheck" 37 _ "mvdan.cc/unparam" 38) 39