1
0
Fork 0
mirror of https://github.com/Luzifer/korvike.git synced 2024-11-14 10:12:41 +00:00
korvike/functions/func_now.go

10 lines
152 B
Go
Raw Normal View History

package functions
import "time"
func init() {
registerFunction("now", func(name string, v ...string) string {
return time.Now().Format(name)
})
}