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

This commit is contained in:
Andreas Deininger
2022-11-20 14:49:51 +01:00
committed by GitHub
parent d533f7c9c8
commit 1686f60b14
4 changed files with 16 additions and 6 deletions
-4
View File
@@ -1,16 +1,12 @@
---
linktitle: ""
description: ""
publishdate: ""
lastmod: ""
categories: [functions]
tags: []
ns: ""
signature: []
workson: []
hugoversion: ""
aliases: []
relatedfuncs: []
toc: false
deprecated: false
---
+1 -1
View File
@@ -8,7 +8,7 @@ categories: [functions]
menu:
docs:
parent: "functions"
keywords: []
keywords: [replace]
signature: ["strings.Replace INPUT OLD NEW [LIMIT]", "replace INPUT OLD NEW [LIMIT]"]
workson: []
hugoversion:
+1 -1
View File
@@ -5,7 +5,7 @@ categories: [functions]
menu:
docs:
parent: functions
keywords: [regex]
keywords: [replace regex]
signature:
- "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"