17 lines
300 B
Go
17 lines
300 B
Go
package matrix
|
|
|
|
import (
|
|
lib "git.sr.ht/~cco/go-scopes"
|
|
"git.sr.ht/~cco/go-scopes/core"
|
|
"git.sr.ht/~cco/go-scopes/core/action"
|
|
)
|
|
|
|
func Start(ctx lib.Context) {
|
|
cfg := ctx.Config()
|
|
cfg.AddAction("create", action.Base(create))
|
|
core.Start(ctx)
|
|
}
|
|
|
|
func create(act lib.Action) bool {
|
|
return true
|
|
}
|