Move helper code out of schema.resolvers.go
2 files changed, 4 insertions(+), 4 deletions(-) A graph/helpers.go M graph/schema.resolvers.go
A graph/helpers.go => graph/helpers.go +4 -0
@@ 0,0 1,4 @@ +package graph + +var voteMaps []string +var voteStatus string
M graph/schema.resolvers.go => graph/schema.resolvers.go +0 -4
@@ 22,10 22,6 @@ import ( "git.xenrox.net/~xenrox/10man-api/logic" ) -// save current map vote -var voteMaps []string -var voteStatus string - func (r *mutationResolver) CreateUser(ctx context.Context, input model.NewUser) (string, error) { type Elo struct { Elo int `json:"Elo"`