Update dependencies.

This commit is contained in:
2021-09-17 23:52:02 +01:00
parent d2f80e98fa
commit c8ee8838e0
4 changed files with 33 additions and 33 deletions
+2 -2
View File
@@ -11,7 +11,7 @@ import (
"fmt"
"os"
"github.com/lukaszraczylo/zero"
"github.com/lukaszraczylo/pandati"
"github.com/tidwall/gjson"
"github.com/valyala/fasthttp"
)
@@ -30,7 +30,7 @@ func prepare() {
value, present := os.LookupEnv("GRAPHQL_ENDPOINT")
if present {
GraphQLUrl = value
} else if !present && zero.IsZero(GraphQLUrl) {
} else if !present && pandati.IsZero(GraphQLUrl) {
GraphQLUrl = "http://127.0.0.1:9090/v1/graphql"
fmt.Println("Setting default endpoint", GraphQLUrl)
} else {