Documentation ¶
Index ¶
Constants ¶
View Source
const ( WI_DATETIME_LOCATION string = "FLOGO_DATETIME_LOCATION" WI_DATETIME_LOCATION_DEFAULT string = "UTC" )
View Source
const DateFormatDefault = "2006-01-02-07:00"
View Source
const DateTimeFormatDefault string = "2006-01-02T15:04:05-07:00"
View Source
const TimeFormatDefault string = "15:04:05-07:00"
Variables ¶
This section is empty.
Functions ¶
func GetLocation ¶
func GetLocation() string
Types ¶
type CurrentDate ¶
type CurrentDate struct { }
func (*CurrentDate) Eval ¶
func (s *CurrentDate) Eval(d ...interface{}) (interface{}, error)
func (*CurrentDate) Name ¶
func (s *CurrentDate) Name() string
type CurrentDatetime ¶
type CurrentDatetime struct { }
func (*CurrentDatetime) Eval ¶
func (s *CurrentDatetime) Eval(d ...interface{}) (interface{}, error)
func (*CurrentDatetime) GetCategory ¶
func (s *CurrentDatetime) GetCategory() string
func (*CurrentDatetime) Name ¶
func (s *CurrentDatetime) Name() string
type CurrentTime ¶
type CurrentTime struct { }
func (*CurrentTime) Eval ¶
func (s *CurrentTime) Eval(d ...interface{}) (interface{}, error)
func (*CurrentTime) GetCategory ¶
func (s *CurrentTime) GetCategory() string
func (*CurrentTime) Name ¶
func (s *CurrentTime) Name() string
type FormatDate ¶
type FormatDate struct { }
func (*FormatDate) Eval ¶
func (s *FormatDate) Eval(params ...interface{}) (interface{}, error)
func (*FormatDate) GetCategory ¶
func (s *FormatDate) GetCategory() string
func (*FormatDate) Name ¶
func (s *FormatDate) Name() string
type FormatDatetime ¶
type FormatDatetime struct { }
func (*FormatDatetime) Eval ¶
func (s *FormatDatetime) Eval(params ...interface{}) (interface{}, error)
func (*FormatDatetime) GetCategory ¶
func (s *FormatDatetime) GetCategory() string
func (*FormatDatetime) Name ¶
func (s *FormatDatetime) Name() string
type FormatTime ¶
type FormatTime struct { }
func (*FormatTime) Eval ¶
func (s *FormatTime) Eval(params ...interface{}) (interface{}, error)
func (*FormatTime) GetCategory ¶
func (s *FormatTime) GetCategory() string
func (*FormatTime) Name ¶
func (s *FormatTime) Name() string
Click to show internal directories.
Click to hide internal directories.