go.temporal.io/server/chasm/map.go

6 LOC · 0 covered · 6 uncovered · 0 ranges · 0 concepts · 0 introducers · 0 tests

1 package chasm
2
3 // mapKeyTypes must match actual Map key type definition.
4 const mapKeyTypes = "string | int | int8 | int32 | int64 | uint | uint8 | uint32 | uint64 | bool"
5
6 type Map[K string | int | int8 | int32 | int64 | uint | uint8 | uint32 | uint64 | bool, T any] map[K]Field[T]