Documentation
¶
Index ¶
- func FromParentClosePolicy(p temporalv1.ParentClosePolicy) enums.ParentClosePolicy
- func IterMapDeterministic[K cmp.Ordered, V any](m map[K]V) iter.Seq2[K, V]
- func MapSliceFunc[T, U any](s []T, f func(T) (U, error)) ([]U, error)
- func MarshalTypedSearchAttributes(sa map[string]any) (tsa temporal.SearchAttributes, err error)
- func Must[T any](v T, err error) T
- func SafeCast[T Number, U Number](val T) (U, error)
- func ToParentClosePolicy(p enums.ParentClosePolicy) temporalv1.ParentClosePolicy
- type Float
- type Number
- type Signed
- type Unsigned
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromParentClosePolicy ¶ added in v1.17.0
func FromParentClosePolicy(p temporalv1.ParentClosePolicy) enums.ParentClosePolicy
func IterMapDeterministic ¶
func MapSliceFunc ¶
func MarshalTypedSearchAttributes ¶ added in v1.19.0
func MarshalTypedSearchAttributes(sa map[string]any) (tsa temporal.SearchAttributes, err error)
func SafeCast ¶
SafeCast attempts to convert a value of type T to type U. If the value cannot be represented by U without overflow or underflow, it returns an error.
func ToParentClosePolicy ¶ added in v1.17.0
func ToParentClosePolicy(p enums.ParentClosePolicy) temporalv1.ParentClosePolicy
Types ¶
type Signed ¶
type Signed interface {
constraints.Signed
}
Signed is a constraint that permits any signed integer type.
type Unsigned ¶
type Unsigned interface {
constraints.Unsigned
}
Unsigned is a constraint that permits any unsigned integer type.
Click to show internal directories.
Click to hide internal directories.