From 93a51d9365dc4897c45718579186e80fc00a5a2a Mon Sep 17 00:00:00 2001 From: cubixle Date: Fri, 18 Jun 2021 21:18:00 +0100 Subject: [PATCH] fix & clean imports --- service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service.go b/service.go index 8337733..3ce7c80 100644 --- a/service.go +++ b/service.go @@ -94,7 +94,7 @@ func parseProto(cfg Config) (serviceDef, error) { importStrs := []string{} servicePath := filepath.Dir(cfg.GRPCFile) for _, i := range f.Imports { - importStrs = append(importStrs, i.Path.Value) + importStrs = append(importStrs, strings.Replace(i.Path.Value, `"`, "", -1)) } importStrs = append(importStrs, strings.Join([]string{cfg.ImportPath, strings.TrimLeft(servicePath, "/")}, "/"))