vise/go/engine/default.go

13 lines
234 B
Go
Raw Normal View History

package engine
import (
"git.defalsify.org/festive/state"
"git.defalsify.org/festive/resource"
)
func NewDefaultEngine(dir string) Engine {
st := state.NewState(0)
rs := resource.NewFsResource(dir)
return NewEngine(&st, &rs)
}