-
Notifications
You must be signed in to change notification settings - Fork 1
/
tools.go
33 lines (30 loc) · 1.45 KB
/
tools.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//go:build tools
// +build tools
package tools
import (
_ "github.com/99designs/gqlgen"
_ "github.com/bufbuild/buf/cmd/buf"
_ "github.com/bufbuild/connect-go/cmd/protoc-gen-connect-go"
_ "github.com/daixiang0/gci"
_ "github.com/frapposelli/wwhrd"
_ "github.com/golang/mock/mockgen"
_ "github.com/golangci/golangci-lint/cmd/golangci-lint"
_ "google.golang.org/grpc/cmd/protoc-gen-go-grpc"
_ "google.golang.org/protobuf/cmd/protoc-gen-go"
_ "gotest.tools/gotestsum"
_ "mvdan.cc/gofumpt"
)
// If you want to use tools, please run the following command:
// go generate ./tools.go
//
//go:generate go build -v -o=./bin/gqlgen github.com/99designs/gqlgen
//go:generate go build -v -o=./bin/gci github.com/daixiang0/gci
//go:generate go build -v -o=./bin/wwhrd github.com/frapposelli/wwhrd
//go:generate go build -v -o=./bin/mockgen github.com/golang/mock/mockgen
//go:generate go build -v -o=./bin/golangci-lint github.com/golangci/golangci-lint/cmd/golangci-lint
//go:generate go build -v -o=./bin/gotestsum gotest.tools/gotestsum
//go:generate go build -v -o=./bin/buf github.com/bufbuild/buf/cmd/buf
//go:generate go build -v -o=./bin/protoc-gen-go google.golang.org/protobuf/cmd/protoc-gen-go
//go:generate go build -v -o=./bin/protoc-gen-go-grpc google.golang.org/grpc/cmd/protoc-gen-go-grpc
//go:generate go build -v -o=./bin/protoc-gen-connect-go github.com/bufbuild/connect-go/cmd/protoc-gen-connect-go
//go:generate go build -v -o=./bin/gofumpt mvdan.cc/gofumpt