go-scopes/scopes.go

9 lines
159 B
Go

package scopes
import "git.sr.ht/~cco/go-scopes/lib"
func RunApp(cfg lib.Config) {
ctx := lib.AppContext(cfg)
cfg.Starter()(ctx)
ctx.WaitGroup().Wait()
}