package diunwebhook func GetUpdatesMap() map[string]DiunEvent { mu.Lock() defer mu.Unlock() return updates } func UpdatesReset() { mu.Lock() defer mu.Unlock() updates = make(map[string]DiunEvent) }