Debian Codegraph @

docs/content/en/methods/duration/Nanoseconds.md

raw
1 ---
2 title: Nanoseconds
3 description: Returns the time.Duration value as an integer nanosecond count.
4 categories: []
5 keywords: []
6 params:
7 functions_and_methods:
8 returnType: int64
9 signatures: [DURATION.Nanoseconds]
10 ---
11
12 ```go-html-template
13 {{ $d = time.ParseDuration "3.5h2.5m1.5s" }}
14 {{ $d.Nanoseconds }} → 12751500000000
15 ```