implement new json_data model

This commit is contained in:
Adrian Zürcher
2025-04-29 08:31:06 +02:00
parent 0a137c9d86
commit 49d8d03d8a
25 changed files with 609 additions and 572 deletions

View File

@@ -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)
}