// New - Creates a new Core structure. func New() *Core { return &Core{ Functions: make(functions.Functions), Sources: source.NewSources(action.NewActions()), } }
func init() { source.Register("mem", func(_ string, _ ...string) (source.Source, error) { return action.NewActions(), nil }) }