option.go 221 B

1234567891011121314151617
  1. package decoder
  2. import "context"
  3. type OptionFlags uint8
  4. const (
  5. FirstWinOption OptionFlags = 1 << iota
  6. ContextOption
  7. PathOption
  8. )
  9. type Option struct {
  10. Flags OptionFlags
  11. Context context.Context
  12. Path *Path
  13. }