mirror of
https://github.com/MontFerret/ferret.git
synced 2025-07-05 00:49:00 +02:00
Added missed datetime library (#462)
This commit is contained in:
@ -4,6 +4,7 @@ import (
|
||||
"github.com/MontFerret/ferret/pkg/runtime/core"
|
||||
"github.com/MontFerret/ferret/pkg/stdlib/arrays"
|
||||
"github.com/MontFerret/ferret/pkg/stdlib/collections"
|
||||
"github.com/MontFerret/ferret/pkg/stdlib/datetime"
|
||||
"github.com/MontFerret/ferret/pkg/stdlib/html"
|
||||
"github.com/MontFerret/ferret/pkg/stdlib/io"
|
||||
"github.com/MontFerret/ferret/pkg/stdlib/math"
|
||||
@ -30,6 +31,10 @@ func RegisterLib(ns core.Namespace) error {
|
||||
return err
|
||||
}
|
||||
|
||||
if err := datetime.RegisterLib(ns); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
if err := arrays.RegisterLib(ns); err != nil {
|
||||
return err
|
||||
}
|
||||
|
Reference in New Issue
Block a user