Documentation ¶
Index ¶
- Constants
- type Flag
- func (p Flag) Base64() string
- func (p Flag) Binary() string
- func (p Flag) Bytes() []byte
- func (p Flag) Int64() int64
- func (p *Flag) Scan(src any) error
- func (p Flag) StrictSubset(other Flag) bool
- func (p Flag) StrictSuperset(other Flag) bool
- func (p Flag) String() string
- func (p Flag) Subset(other Flag) bool
- func (p Flag) Superset(other Flag) bool
- func (f *Flag) Value() (driver.Value, error)
- type ID
- func (f ID) Base2() string
- func (f ID) Base64() string
- func (f ID) Bytes() []byte
- func (f ID) Int64() int64
- func (f ID) MarshalJSON() ([]byte, error)
- func (f *ID) Scan(src any) error
- func (f ID) String() string
- func (f ID) Time() time.Time
- func (f *ID) UnmarshalJSON(data []byte) error
- func (f *ID) Value() (driver.Value, error)
- type SummonID
- type Time
Constants ¶
View Source
const ( TimeShift = 12 MaxStep = 1 << TimeShift IDBit = 54 )
View Source
const ( // ISO860: YYYY-MM-DDThh:mm:ss.sssZ TimeFormat = "2006-01-02T15:04:05.999Z" StringTimeFormat = `"` + TimeFormat + `"` )
View Source
const Epoch int64 = 1685577600000 // 2023-06-01 00:00:00 +00:00
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Flag ¶
type Flag uint32
func (Flag) StrictSubset ¶
if the permissions on other are a strict subset of those on self.
func (Flag) StrictSuperset ¶
if the permissions on other are a strict superset of those on self.
Click to show internal directories.
Click to hide internal directories.