Adding documentation page for function 'strings.FirstUpper' (#1901)

This commit is contained in:
Andreas Deininger authored and GitHub committed 2022-11-20 05:49:51 -08:00
1 parent d533f7c9c8
commit 1686f60b14
4 files changed
+16 -6

No files matched your search

-4
View File
@@ -1,16 +1,12 @@
--- ---
linktitle: "" linktitle: ""
description: "" description: ""
publishdate: ""
lastmod: ""
categories: [functions] categories: [functions]
tags: [] tags: []
ns: "" ns: ""
signature: [] signature: []
workson: []
hugoversion: "" hugoversion: ""
aliases: [] aliases: []
relatedfuncs: [] relatedfuncs: []
toc: false toc: false
deprecated: false
--- ---
+1 -1
View File
@@ -8,7 +8,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: "functions" parent: "functions"
keywords: [] keywords: [replace]
signature: ["strings.Replace INPUT OLD NEW [LIMIT]", "replace INPUT OLD NEW [LIMIT]"] signature: ["strings.Replace INPUT OLD NEW [LIMIT]", "replace INPUT OLD NEW [LIMIT]"]
workson: [] workson: []
hugoversion: hugoversion:
+1 -1
View File
@@ -5,7 +5,7 @@ categories: [functions]
menu: menu:
docs: docs:
parent: functions parent: functions
keywords: [regex] keywords: [replace regex]
signature: signature:
- "replaceRE PATTERN REPLACEMENT INPUT [LIMIT]" - "replaceRE PATTERN REPLACEMENT INPUT [LIMIT]"
- "strings.ReplaceRE PATTERN REPLACEMENT INPUT [LIMIT]" - "strings.ReplaceRE PATTERN REPLACEMENT INPUT [LIMIT]"
@@ -0,0 +1,14 @@
---
title: strings.FirstUpper
description: Capitalizes the first character of a given string.
categories: [functions]
menu:
docs:
parent: "functions"
keywords: [strings capitalize uppercase first]
signature: ["strings.FirstUpper STRING"]
hugoversion:
aliases: []
---
{{ strings.FirstUpper "foo" }} → "Foo"