Skip to content

Commit

Permalink
add nolint
Browse files Browse the repository at this point in the history
  • Loading branch information
Yamashou committed Apr 24, 2024
1 parent 041e846 commit e902116
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphqljson/graphql.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func (d *Decoder) Decode(v interface{}) error {
}

// decode decodes a single JSON value from d.tokenizer into d.vs.
func (d *Decoder) decode() error {
func (d *Decoder) decode() error { //nolint:maintidx
// The loop invariant is that the top of each d.vs stack
// is where we try to unmarshal the next JSON value we see.
for len(d.vs) > 0 {
Expand Down

0 comments on commit e902116

Please sign in to comment.