func github.com/prometheus/common/model.TimeFromUnixNano
7 uses
github.com/prometheus/common/model (current package)
time.go#L53: return TimeFromUnixNano(time.Now().UnixNano())
time.go#L64: func TimeFromUnixNano(t int64) Time {
github.com/prometheus/common/expfmt
decode.go#L222: smpl.Timestamp = model.TimeFromUnixNano(*m.TimestampMs * 1000000)
decode.go#L253: smpl.Timestamp = model.TimeFromUnixNano(*m.TimestampMs * 1000000)
decode.go#L284: smpl.Timestamp = model.TimeFromUnixNano(*m.TimestampMs * 1000000)
decode.go#L305: timestamp = model.TimeFromUnixNano(*m.TimestampMs * 1000000)
decode.go#L362: timestamp = model.TimeFromUnixNano(*m.TimestampMs * 1000000)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |