MCPcopy Create free account
hub / github.com/AdRoll/baker / fillDefaults

Method fillDefaults

filter/format_time.go:69–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67}
68
69func (cfg *FormatTimeConfig) fillDefaults() {
70 if cfg.SrcFormat == "" {
71 cfg.SrcFormat = unixdate
72 }
73 if cfg.DstFormat == "" {
74 cfg.DstFormat = unixms
75 }
76}
77
78type FormatTime struct {
79 src baker.FieldIndex

Callers 1

NewFormatTimeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected