2020-05-14 17:45:12 +00:00
|
|
|
// +build tools
|
|
|
|
|
|
|
|
// This file ensures tool dependencies are kept in sync. This is the
|
|
|
|
// recommended way of doing this according to
|
|
|
|
// https://github.com/golang/go/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module
|
|
|
|
// To install the following tools at the version used by this repo run:
|
|
|
|
// $ make bootstrap
|
|
|
|
// or
|
|
|
|
// $ go generate -tags tools tools/tools.go
|
|
|
|
|
|
|
|
package tools
|
|
|
|
|
|
|
|
//go:generate go install golang.org/x/tools/cmd/goimports
|
|
|
|
//go:generate go install github.com/mitchellh/gox
|
|
|
|
//go:generate go install github.com/client9/misspell/cmd/misspell
|
2021-04-08 16:43:39 +00:00
|
|
|
//go:generate go install mvdan.cc/gofumpt
|
2021-09-30 01:25:15 +00:00
|
|
|
//go:generate go install google.golang.org/protobuf/cmd/protoc-gen-go
|
|
|
|
//go:generate go install google.golang.org/grpc/cmd/protoc-gen-go-grpc
|
|
|
|
//go:generate go install github.com/favadi/protoc-go-inject-tag
|
2021-04-08 16:43:39 +00:00
|
|
|
import (
|
|
|
|
_ "golang.org/x/tools/cmd/goimports"
|
|
|
|
|
|
|
|
_ "github.com/mitchellh/gox"
|
|
|
|
|
|
|
|
_ "github.com/client9/misspell/cmd/misspell"
|
|
|
|
|
|
|
|
_ "mvdan.cc/gofumpt"
|
2021-09-30 01:25:15 +00:00
|
|
|
|
|
|
|
_ "google.golang.org/protobuf/cmd/protoc-gen-go"
|
|
|
|
|
|
|
|
_ "google.golang.org/grpc/cmd/protoc-gen-go-grpc"
|
|
|
|
|
|
|
|
_ "github.com/favadi/protoc-go-inject-tag"
|
|
|
|
)
|
2021-04-08 16:43:39 +00:00
|
|
|
)
|