time.Duration.Nanoseconds (method)
6 uses
time (current package)
time.go#L729: func (d Duration) Nanoseconds() int64 { return int64(d) }
runtime/pprof
proto.go#L344: b.pb.int64Opt(tagProfile_DurationNanos, b.end.Sub(b.start).Nanoseconds())
testing
benchmark.go#L304: goalns := d.Nanoseconds()
benchmark.go#L306: prevns := b.duration.Nanoseconds()
benchmark.go#L370: return r.T.Nanoseconds() / int64(r.N)
benchmark.go#L422: ns = float64(r.T.Nanoseconds()) / float64(r.N)
The pages are generated with Golds v0.2.8-preview. (GOOS=darwin GOARCH=arm64)