18 lines
221 B
Go
18 lines
221 B
Go
package decoder
|
|
|
|
import "context"
|
|
|
|
type OptionFlags uint8
|
|
|
|
const (
|
|
FirstWinOption OptionFlags = 1 << iota
|
|
ContextOption
|
|
PathOption
|
|
)
|
|
|
|
type Option struct {
|
|
Flags OptionFlags
|
|
Context context.Context
|
|
Path *Path
|
|
}
|