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

Struct FormatTime

filter/format_time.go:78–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78type FormatTime struct {
79 src baker.FieldIndex
80 dst baker.FieldIndex
81 parse func(t []byte) (time.Time, error)
82 format func(t time.Time) []byte
83}
84
85func NewFormatTime(cfg baker.FilterParams) (baker.Filter, error) {
86 dcfg := cfg.DecodedConfig.(*FormatTimeConfig)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected