mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-15 23:29:50 +01:00
16 lines
194 B
Go
16 lines
194 B
Go
|
package decoder
|
||
|
|
||
|
import "context"
|
||
|
|
||
|
type OptionFlags uint8
|
||
|
|
||
|
const (
|
||
|
FirstWinOption OptionFlags = 1 << iota
|
||
|
ContextOption
|
||
|
)
|
||
|
|
||
|
type Option struct {
|
||
|
Flags OptionFlags
|
||
|
Context context.Context
|
||
|
}
|