Explorar o código

tools.go, not sure how this works though!

jamesread %!s(int64=5) %!d(string=hai) anos
pai
achega
dc76ca9a38
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  1. 10 0
      tools.go

+ 10 - 0
tools.go

@@ -0,0 +1,10 @@
+// +build tools
+
+package tools
+
+import (
+    _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway"
+    _ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2"
+    _ "google.golang.org/grpc/cmd/protoc-gen-go-grpc"
+    _ "google.golang.org/protobuf/cmd/protoc-gen-go"
+)