Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertIsTimeNow ¶
AssertIsTimeNow makes sure that the given value can be type-coerced to a time.Time, and that its value encodes now() - given a 5 second tolerance.
func AssertKSUIDIsNow ¶
AssertKSUIDIsNow makes sure that the given value can be type-coerced to a ksuid.KSUID, and that the time it encodes is roughly now() - given a 5 second tolerance.
func AssertValueAtPath ¶
AssertValueAtPath splits a path like "foo.bar.baz" into dot-delimited segments (the keys). Then it tries to drill into the given map (recursively) using those keys. It then makes sure the value thus found is the given expected value.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.