summaryrefslogtreecommitdiffstats
path: root/docs/content/en/functions/fmt/Errorf.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/en/functions/fmt/Errorf.md')
-rw-r--r--docs/content/en/functions/fmt/Errorf.md15
1 files changed, 6 insertions, 9 deletions
diff --git a/docs/content/en/functions/fmt/Errorf.md b/docs/content/en/functions/fmt/Errorf.md
index 93f546351..799622f0e 100644
--- a/docs/content/en/functions/fmt/Errorf.md
+++ b/docs/content/en/functions/fmt/Errorf.md
@@ -3,18 +3,15 @@ title: fmt.Errorf
description: Log an ERROR from a template.
categories: []
keywords: []
-action:
- aliases: [errorf]
- related:
- - functions/fmt/Erroridf
- - functions/fmt/Warnf
- - functions/fmt/Warnidf
- returnType: string
- signatures: ['fmt.Errorf FORMAT [INPUT]']
+params:
+ functions_and_methods:
+ aliases: [errorf]
+ returnType: string
+ signatures: ['fmt.Errorf FORMAT [INPUT]']
aliases: [/functions/errorf]
---
-{{% include "functions/fmt/_common/fmt-layout.md" %}}
+{{% include "/_common/functions/fmt/format-string.md" %}}
The `errorf` function evaluates the format string, then prints the result to the ERROR log and fails the build.