Back to godoc.org

Package util

v0.12.2
Latest Go to latest
Published: Jun 23, 2020 | License: MIT | Module: go.uber.org/cadence

Index

Package Files

func AwaitWaitGroup

func AwaitWaitGroup(wg *sync.WaitGroup, timeout time.Duration) bool

AwaitWaitGroup calls Wait on the given wait Returns true if the Wait() call succeeded before the timeout Returns false if the Wait() did not return before the timeout

func DecisionToString

func DecisionToString(d *s.Decision) string

DecisionToString convert Decision to string

func HistoryEventToString

func HistoryEventToString(e *s.HistoryEvent) string

HistoryEventToString convert HistoryEvent to string

func IsTypeByteSlice

func IsTypeByteSlice(inType reflect.Type) bool

IsTypeByteSlice checks whether the type passed in is a ByteSlice type

func MergeDictoRight

func MergeDictoRight(src map[string]string, dest map[string]string)

MergeDictoRight copies the contents of src to dest

func MergeDicts

func MergeDicts(dic1 map[string]string, dic2 map[string]string) (resultDict map[string]string)

MergeDicts creates a union of the two dicts

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier