MCPcopy Create free account
hub / github.com/LumaAI-API/Luma-API / GetTimeString

Function GetTimeString

common/utils.go:122–125  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

120}
121
122func GetTimeString() string {
123 now := time.Now()
124 return fmt.Sprintf("%s%d", now.Format("20060102150405"), now.UnixNano()%1e9)
125}
126
127func GetOrDefault(env string, defaultValue int) int {
128 if env == "" || os.Getenv(env) == "" {

Callers 1

RequestIdFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected