aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/goccy/go-json/internal/decoder/option.go
blob: 502f772eba0b403f07f9177283a924fdb188789a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package decoder

import "context"

type OptionFlags uint8

const (
	FirstWinOption OptionFlags = 1 << iota
	ContextOption
	PathOption
)

type Option struct {
	Flags   OptionFlags
	Context context.Context
	Path    *Path
}