package main import ( "fmt" "demo/etc" "git.sr.ht/~cco/go-scopes" "git.sr.ht/~cco/go-scopes/config" ) func main() { cfg := config.Setup(etc.Config()) fmt.Println(cfg.Name()) appCfg := cfg.(*scopes.Cfg) fmt.Println(appCfg.Home) scopes.RunApp(cfg) }