Merge commit '5be51ac3db225d5df501ed1fa1499c41d97dbf65'

This commit is contained in:
Bjørn Erik Pedersen
2025-04-10 13:04:51 +02:00
987 changed files with 12379 additions and 14083 deletions

View File

@@ -3,12 +3,10 @@ title: Abs
description: Returns the absolute value of the given time.Duration value.
categories: []
keywords: []
action:
related:
- functions/time/Duration
- functions/time/ParseDuration
returnType: time.Duration
signatures: [DURATION.Abs]
params:
functions_and_methods:
returnType: time.Duration
signatures: [DURATION.Abs]
---
```go-html-template

View File

@@ -3,12 +3,10 @@ title: Hours
description: Returns the time.Duration value as a floating point number of hours.
categories: []
keywords: []
action:
related:
- functions/time/Duration
- functions/time/ParseDuration
returnType: float64
signatures: [DURATION.Hours]
params:
functions_and_methods:
returnType: float64
signatures: [DURATION.Hours]
---
```go-html-template

View File

@@ -3,12 +3,10 @@ title: Microseconds
description: Returns the time.Duration value as an integer microsecond count.
categories: []
keywords: []
action:
related:
- functions/time/Duration
- functions/time/ParseDuration
returnType: int64
signatures: [DURATION.Microseconds]
params:
functions_and_methods:
returnType: int64
signatures: [DURATION.Microseconds]
---
```go-html-template

View File

@@ -3,12 +3,10 @@ title: Milliseconds
description: Returns the time.Duration value as an integer millisecond count.
categories: []
keywords: []
action:
related:
- functions/time/Duration
- functions/time/ParseDuration
returnType: int64
signatures: [DURATION.Milliseconds]
params:
functions_and_methods:
returnType: int64
signatures: [DURATION.Milliseconds]
---
```go-html-template

View File

@@ -3,12 +3,10 @@ title: Minutes
description: Returns the time.Duration value as a floating point number of minutes.
categories: []
keywords: []
action:
related:
- functions/time/Duration
- functions/time/ParseDuration
returnType: float64
signatures: [DURATION.Minutes]
params:
functions_and_methods:
returnType: float64
signatures: [DURATION.Minutes]
---
```go-html-template

View File

@@ -3,12 +3,10 @@ title: Nanoseconds
description: Returns the time.Duration value as an integer nanosecond count.
categories: []
keywords: []
action:
related:
- functions/time/Duration
- functions/time/ParseDuration
returnType: int64
signatures: [DURATION.Nanoseconds]
params:
functions_and_methods:
returnType: int64
signatures: [DURATION.Nanoseconds]
---
```go-html-template

View File

@@ -3,12 +3,10 @@ title: Round
description: Returns the result of rounding DURATION1 to the nearest multiple of DURATION2.
categories: []
keywords: []
action:
related:
- functions/time/Duration
- functions/time/ParseDuration
returnType:
signatures: [DURATION1.Round DURATION2]
params:
functions_and_methods:
returnType:
signatures: [DURATION1.Round DURATION2]
---
```go-html-template

View File

@@ -3,12 +3,10 @@ title: Seconds
description: Returns the time.Duration value as a floating point number of seconds.
categories: []
keywords: []
action:
related:
- functions/time/Duration
- functions/time/ParseDuration
returnType: float64
signatures: [DURATION.Seconds]
params:
functions_and_methods:
returnType: float64
signatures: [DURATION.Seconds]
---
```go-html-template

View File

@@ -3,12 +3,10 @@ title: Truncate
description: Returns the result of rounding DURATION1 toward zero to a multiple of DURATION2.
categories: []
keywords: []
action:
related:
- functions/time/Duration
- functions/time/ParseDuration
returnType: time.Duration
signatures: [DURATION1.Truncate DURATION2]
params:
functions_and_methods:
returnType: time.Duration
signatures: [DURATION1.Truncate DURATION2]
---
```go-html-template

View File

@@ -4,9 +4,4 @@ linkTitle: Duration
description: Use these methods with time.Duration values.
categories: []
keywords: []
menu:
docs:
parent: methods
---
Use these methods with time.Duration values.