Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
DBL-Lee committed Jun 12, 2019
1 parent e0e1e31 commit 8fcc186
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions handler/graphql.go
Original file line number Diff line number Diff line change
Expand Up @@ -358,9 +358,9 @@ func GraphQL(exec graphql.ExecutableSchema, options ...Option) http.HandlerFunc
}

handler := &graphqlHandler{
cfg: cfg,
cache: cache,
exec: exec,
cfg: cfg,
cache: cache,
exec: exec,
}

return handler.ServeHTTP
Expand All @@ -369,9 +369,9 @@ func GraphQL(exec graphql.ExecutableSchema, options ...Option) http.HandlerFunc
var _ http.Handler = (*graphqlHandler)(nil)

type graphqlHandler struct {
cfg *Config
cache *lru.Cache
exec graphql.ExecutableSchema
cfg *Config
cache *lru.Cache
exec graphql.ExecutableSchema
}

func computeQueryHash(query string) string {
Expand Down

0 comments on commit 8fcc186

Please sign in to comment.