MCPcopy
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
8func GetTimestamp() int64 {
9 return time.Now().Unix()
10}
11
12func GetTimeString() string {
13 now := time.Now()

Callers 15

AddRedemptionFunction · 0.92
AddChannelFunction · 0.92
AddTokenFunction · 0.92
UpdateTokenFunction · 0.92
RedeemFunction · 0.92
UpdateResponseTimeMethod · 0.92
UpdateBalanceMethod · 0.92
RecordLogFunction · 0.92
RecordTopupLogFunction · 0.92
RecordConsumeLogFunction · 0.92
InsertMethod · 0.92
ValidateUserTokenFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected