mirror of
https://github.com/Luzifer/korvike.git
synced 2024-11-09 16:00:09 +00:00
9 lines
152 B
Go
9 lines
152 B
Go
package functions
|
|
|
|
import "time"
|
|
|
|
func init() {
|
|
registerFunction("now", func(name string, v ...string) string {
|
|
return time.Now().Format(name)
|
|
})
|
|
}
|