implement new json_data model
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
package models
|
||||
|
||||
type Subscribtions map[string]*Subscribtion
|
||||
type Subscriptions map[string]*Subscription
|
||||
|
||||
type Subscribtion struct {
|
||||
type Subscription struct {
|
||||
OnCreate bool
|
||||
OnDelete bool
|
||||
OnChange bool
|
||||
}
|
||||
|
||||
func InitSubscribtion() Subscribtions {
|
||||
return make(Subscribtions)
|
||||
func InitSubscribtion() Subscriptions {
|
||||
return make(Subscriptions)
|
||||
}
|
||||
|
Reference in New Issue
Block a user