wip: parse & use config file, start Storage struct/interface

This commit is contained in:
Michael Hohn
2024-05-13 12:56:00 -07:00
committed by =Michael Hohn
parent c2480dc2f1
commit 5b324e092a
7 changed files with 34 additions and 20 deletions

View File

@@ -1,4 +1,5 @@
package mcc
type Storage struct {
StartingID int
}

View File

@@ -8,11 +8,11 @@ import (
)
type System struct {
commander Commander
logger Logger
queue Queue
storage Storage
runner Runner
Commander Commander
Logger Logger
Queue Queue
Storage Storage
Runner Runner
}
func LoadConfig(fname string) *System {