content: Consolidate configuration documentation

This commit is contained in:
Joe Mooring authored and GitHub committed 2025-03-05 04:50:06 -08:00
1 parent 727ef6f665
commit b6cae5cbc6
911 files changed
+10902 -11171

No files matched your search

+7 -6
View File
@@ -3,12 +3,13 @@ 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:
related:
- functions/time/Duration
- functions/time/ParseDuration
returnType: time.Duration
signatures: [DURATION.Abs]
---
```go-html-template
+7 -6
View File
@@ -3,12 +3,13 @@ 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:
related:
- functions/time/Duration
- functions/time/ParseDuration
returnType: float64
signatures: [DURATION.Hours]
---
```go-html-template
+7 -6
View File
@@ -3,12 +3,13 @@ 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:
related:
- functions/time/Duration
- functions/time/ParseDuration
returnType: int64
signatures: [DURATION.Microseconds]
---
```go-html-template
+7 -6
View File
@@ -3,12 +3,13 @@ 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:
related:
- functions/time/Duration
- functions/time/ParseDuration
returnType: int64
signatures: [DURATION.Milliseconds]
---
```go-html-template
+7 -6
View File
@@ -3,12 +3,13 @@ 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:
related:
- functions/time/Duration
- functions/time/ParseDuration
returnType: float64
signatures: [DURATION.Minutes]
---
```go-html-template
+7 -6
View File
@@ -3,12 +3,13 @@ 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:
related:
- functions/time/Duration
- functions/time/ParseDuration
returnType: int64
signatures: [DURATION.Nanoseconds]
---
```go-html-template
+7 -6
View File
@@ -3,12 +3,13 @@ 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:
related:
- functions/time/Duration
- functions/time/ParseDuration
returnType:
signatures: [DURATION1.Round DURATION2]
---
```go-html-template
+7 -6
View File
@@ -3,12 +3,13 @@ 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:
related:
- functions/time/Duration
- functions/time/ParseDuration
returnType: float64
signatures: [DURATION.Seconds]
---
```go-html-template
+7 -6
View File
@@ -3,12 +3,13 @@ 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:
related:
- functions/time/Duration
- functions/time/ParseDuration
returnType: time.Duration
signatures: [DURATION1.Truncate DURATION2]
---
```go-html-template
-5
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.