Documentation ¶
Index ¶
- func CloneBase(datum *types.Base) *types.Base
- func NewBase() *types.Base
- func NewClockDriftOffset() int
- func NewConversionOffset() int
- func NewNote(minimumLength int, maximumLength int) string
- func NewNotes(minimumLength int, maximumLength int) []string
- func NewTag(minimumLength int, maximumLength int) string
- func NewTags(minimumLength int, maximumLength int) []string
- func NewTimeZoneOffset() int
- func NewType() string
- func NewVersion() int
- func ValidateWithExpectedOrigins(validatable structure.Validatable, expectedOrigins []structure.Origin, ...)
- func ValidateWithOrigin(validatable structure.Validatable, origin structure.Origin, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClockDriftOffset ¶
func NewClockDriftOffset() int
func NewConversionOffset ¶
func NewConversionOffset() int
func NewTimeZoneOffset ¶ added in v1.26.0
func NewTimeZoneOffset() int
func NewVersion ¶
func NewVersion() int
func ValidateWithExpectedOrigins ¶
func ValidateWithExpectedOrigins(validatable structure.Validatable, expectedOrigins []structure.Origin, expectedErrors ...error)
func ValidateWithOrigin ¶
func ValidateWithOrigin(validatable structure.Validatable, origin structure.Origin, expectedErrors ...error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.