ipbl/vendor/github.com/goccy/go-json/internal/decoder/option.go

18 lines
221 B
Go
Raw Normal View History

2021-11-07 20:44:48 +01:00
package decoder
import "context"
type OptionFlags uint8
const (
FirstWinOption OptionFlags = 1 << iota
ContextOption
2023-01-14 13:28:44 +01:00
PathOption
2021-11-07 20:44:48 +01:00
)
type Option struct {
Flags OptionFlags
Context context.Context
2023-01-14 13:28:44 +01:00
Path *Path
2021-11-07 20:44:48 +01:00
}