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