MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / formatUnixTime

Function formatUnixTime

cmd/cql-proxy/api/utils.go:119–124  ·  view source on GitHub ↗
(t int64)

Source from the content-addressed store, hash-verified

117}
118
119func formatUnixTime(t int64) interface{} {
120 if t == 0 {
121 return nil
122 }
123 return time.Unix(t, 0).UTC().String()
124}

Callers 11

projectUserListFunction · 0.85
queryProjectUserFunction · 0.85
updateProjectUserFunction · 0.85
createProjectTableFunction · 0.85
getProjectTableDetailFunction · 0.85
addFieldsToProjectTableFunction · 0.85
dropProjectTableFunction · 0.85
batchQueryProjectUserFunction · 0.85
updateProjectTableRulesFunction · 0.85
listTasksFunction · 0.85
getTaskFunction · 0.85

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected