Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
restructure tools/tools.go to prevent gofmt issue
Browse files Browse the repository at this point in the history
  • Loading branch information
catsby committed Apr 8, 2022
1 parent 993c275 commit 5a7f784
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions tools/tools.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,23 @@

package tools

import (
//go:generate go install github.com/kevinburke/go-bindata
_ "github.com/kevinburke/go-bindata"

//go:generate go install google.golang.org/protobuf/cmd/protoc-gen-go
_ "google.golang.org/protobuf/cmd/protoc-gen-go"

//go:generate go install google.golang.org/grpc/cmd/protoc-gen-go-grpc
_ "google.golang.org/grpc/cmd/protoc-gen-go-grpc"

//go:generate go install github.com/mitchellh/protoc-gen-go-json
_ "github.com/mitchellh/protoc-gen-go-json"

// Using a fork of grpc-gateway to fix a bug they have in "nested query param generation"
//go:generate go install github.com/evanphx/grpc-gateway/protoc-gen-swagger
_ "github.com/evanphx/grpc-gateway/protoc-gen-swagger"

//go:generate go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway"

//go:generate go install "-ldflags=-s -w -X github.com/vektra/mockery/mockery.SemVer=1.1.2" github.com/vektra/mockery/cmd/mockery

import (
_ "github.com/evanphx/grpc-gateway/protoc-gen-swagger"
_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway"
_ "github.com/kevinburke/go-bindata"
_ "github.com/mitchellh/protoc-gen-go-json"
_ "github.com/vektra/mockery"
_ "google.golang.org/grpc/cmd/protoc-gen-go-grpc"
_ "google.golang.org/protobuf/cmd/protoc-gen-go"
)

0 comments on commit 5a7f784

Please sign in to comment.