Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/songquanpeng/one-api
/ GetTimestamp
Function
GetTimestamp
common/helper/time.go:8–10 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
6
)
7
8
func
GetTimestamp() int64 {
9
return
time.Now().Unix()
10
}
11
12
func
GetTimeString() string {
13
now := time.Now()
Callers
15
AddRedemption
Function · 0.92
AddChannel
Function · 0.92
AddToken
Function · 0.92
UpdateToken
Function · 0.92
Redeem
Function · 0.92
UpdateResponseTime
Method · 0.92
UpdateBalance
Method · 0.92
RecordLog
Function · 0.92
RecordTopupLog
Function · 0.92
RecordConsumeLog
Function · 0.92
Insert
Method · 0.92
ValidateUserToken
Function · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected