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