package models type Subscriptions map[string]*Subscription type Subscription struct { OnCreate bool OnDelete bool OnChange bool } func InitSubscribtion() Subscriptions { return make(Subscriptions) }