MCPcopy
hub / github.com/moonD4rk/HackBrowserData / formatTime

Function formatTime

output/reflect.go:77–82  ·  view source on GitHub ↗
(t time.Time)

Source from the content-addressed store, hash-verified

75}
76
77func formatTime(t time.Time) string {
78 if t.IsZero() {
79 return ""
80 }
81 return t.Format(time.RFC3339)
82}
83
84func formatBool(b bool) string {
85 if b {

Callers 1

fieldToStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected