Run a more strict formatter over the code (#11312)

* Update tooling

* Run gofumpt

* go mod vendor
This commit is contained in:
Brian Kassouf
2021-04-08 09:43:39 -07:00
committed by GitHub
parent 60f3ba99a4
commit a24653cc5c
658 changed files with 10961 additions and 3671 deletions

View File

@@ -14,19 +14,24 @@ package tools
// see https://github.com/golang/protobuf/releases#v1.4-generated-code and
// https://github.com/protocolbuffers/protobuf-go/releases/tag/v1.20.0#v1.20-grpc-support
//go:generate go install github.com/golang/protobuf/protoc-gen-go
import _ "github.com/golang/protobuf/protoc-gen-go"
//go:generate go install golang.org/x/tools/cmd/goimports
import _ "golang.org/x/tools/cmd/goimports"
//go:generate go install github.com/mitchellh/gox
import _ "github.com/mitchellh/gox"
//go:generate go install github.com/hashicorp/go-bindata
import _ "github.com/hashicorp/go-bindata"
//go:generate go install github.com/elazarl/go-bindata-assetfs
import _ "github.com/elazarl/go-bindata-assetfs"
//go:generate go install github.com/client9/misspell/cmd/misspell
import _ "github.com/client9/misspell/cmd/misspell"
//go:generate go install mvdan.cc/gofumpt
import (
_ "github.com/golang/protobuf/protoc-gen-go"
_ "golang.org/x/tools/cmd/goimports"
_ "github.com/mitchellh/gox"
_ "github.com/hashicorp/go-bindata"
_ "github.com/elazarl/go-bindata-assetfs"
_ "github.com/client9/misspell/cmd/misspell"
_ "mvdan.cc/gofumpt"
)