Documentation ¶
Index ¶
- Constants
- func GetFirst(flag uint, containers ...*Container) (value, ok bool)
- type Container
- func (f *Container) Copy() *Container
- func (f Container) Get(flag uint) (value, ok bool)
- func (f Container) IsSet(flag uint) (ok bool)
- func (f *Container) Set(flag uint, value bool)
- func (f *Container) SetFirst(flag uint, containers ...*Container) (found bool)
- func (f *Container) SetFrom(flag uint, root *Container) (found bool)
- func (f Container) Value(flag uint) (value bool)
Constants ¶
View Source
const ( UseLinks uint = 1 << iota ReturnPatchContent AddMetaCountList AllowClientID // AllowForeignKeyFilter is the flag that allows filtering over foreign keys AllowForeignKeyFilter // UseFilterValueLimit is the flag that checks if there is any limit for the filter values UseFilterValueLimit // AllowStringSearch is a flag that defines if the string field may be filtered using // operators like: '$contains', '$startswith', '$endswith' AllowStringSearch )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Container ¶
type Container uint64
Container is the container for any enum type flags. The stored flag can be
func (*Container) SetFirst ¶
SetFirst if any of the provided flag containers has a value for provided flag then the first one in the order will be written. Otherwise nothing happens
Click to show internal directories.
Click to hide internal directories.