MCPcopy Create free account
hub / github.com/compozy/agh / formatUnixSeconds

Function formatUnixSeconds

internal/cli/network.go:2114–2119  ·  view source on GitHub ↗
(value *int64)

Source from the content-addressed store, hash-verified

2112}
2113
2114func formatUnixSeconds(value *int64) string {
2115 if value == nil {
2116 return ""
2117 }
2118 return time.Unix(*value, 0).UTC().Format(time.RFC3339)
2119}
2120
2121func formatTimePtr(value *time.Time) string {
2122 if value == nil {

Callers 2

networkSendBundleFunction · 0.85
networkInboxBundleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected