move initial konstructor structs from main.go to init.go

This commit is contained in:
2023-07-08 11:25:16 +02:00
parent 75e7f92396
commit 73f06f458f
4 changed files with 56 additions and 44 deletions

View File

@@ -13,6 +13,9 @@ type DomainBaseFields struct {
type DomainInterface interface {
Init()
GetInitialKContext() *KContext
GetInitialConfig() *Config
GetMenuMap() MenuMap
GetMenu(name MenuMapKey) Menu
SetMenu(name MenuMapKey, menu Menu)