Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
69
func
(cfg *FormatTimeConfig) fillDefaults() {
70
if
cfg.SrcFormat ==
""
{
71
cfg.SrcFormat = unixdate
72
}
73
if
cfg.DstFormat ==
""
{
74
cfg.DstFormat = unixms
75
}
76
}
77
78
type
FormatTime
struct
{
79
src baker.FieldIndex
Callers
1
NewFormatTime
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected