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