DefaultConfig is a configuration with default values
var DefaultConfig = NewConfig()
var Statements = exec.StatementSet{}
type Config struct { // Default format DatetimeFormat string // If defined, now returns this parsed value Now *arrow.Arrow }
func NewConfig() *Config
func (cfg *Config) Inherit() config.Inheritable
type NowStmt struct { Location *tokens.Token TZ string Format string Offset *TimeOffset }
func (stmt *NowStmt) Execute(r *exec.Renderer, tag *nodes.StatementBlock) error
func (stmt *NowStmt) Position() *tokens.Token
func (stmt *NowStmt) String() string
type TimeOffset struct { Years int Months int Days int Hours int Minutes int Seconds int }