Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chainreactors/EvilProxy
/ timePtrIfSet
Function
timePtrIfSet
sdk/cliproxy/auth/error_events.go:153–159 ·
view source on GitHub ↗
(value time.Time)
Source
from the content-addressed store, hash-verified
151
}
152
153
func
timePtrIfSet(value time.Time) *time.Time {
154
if
value.IsZero() {
155
return
nil
156
}
157
copyValue := value
158
return
©Value
159
}
Callers
3
buildErrorEventAuthStatus
Function · 0.85
errorEventModelStatusFrom
Function · 0.85
errorEventQuotaStatusFrom
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected