generate errors only for generated files

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2024-06-11 20:45:09 +03:00
parent f22d8ed055
commit 55fa1ee403
8 changed files with 171 additions and 45 deletions

View File

@@ -3,6 +3,8 @@ package main
import "google.golang.org/protobuf/compiler/protogen"
var (
ioPackage = protogen.GoImportPath("io")
graphqlPackage = protogen.GoImportPath("github.com/99designs/gqlgen/graphql")
reflectPackage = protogen.GoImportPath("reflect")
stringsPackage = protogen.GoImportPath("strings")
fmtPackage = protogen.GoImportPath("fmt")