ci: bump golangci-lint version (#2018)

* Bump golangci-lint version

* Fix linters issues

* Add exclude-rules for schema and test

* Fix cfg
This commit is contained in:
Alexander Melentyev
2021-10-07 20:06:38 +03:00
committed by GitHub
parent f30a17edd4
commit b47b46ee6d
3 changed files with 3 additions and 3 deletions

View File

@@ -26,7 +26,6 @@ func ExampleClient_Query() {
}
ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
defer cancel()
rsp, err := client.Query(ctx, "g.E()")
if err != nil {
@@ -38,6 +37,8 @@ func ExampleClient_Query() {
log.Fatalf("unmashal edges")
}
defer cancel()
for _, e := range edges {
log.Println(e.String())
}