add files
This commit is contained in:
13
subscribtion.go
Normal file
13
subscribtion.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package models
|
||||
|
||||
type Subscriptions map[string]*Subscription
|
||||
|
||||
type Subscription struct {
|
||||
OnCreate bool
|
||||
OnDelete bool
|
||||
OnChange bool
|
||||
}
|
||||
|
||||
func InitSubscribtion() Subscriptions {
|
||||
return make(Subscriptions)
|
||||
}
|
Reference in New Issue
Block a user