blob: 5bb444114a6a32c4c42fd40515697f1d273ef5f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
---
title: inflect.Pluralize
linkTitle: pluralize
description: Pluralizes the given word according to a set of common English pluralization rules
categories: [functions]
keywords: []
menu:
docs:
parent: functions
function:
aliases: [pluralize]
returnType: string
signatures: [inflect.Pluralize INPUT]
relatedFunctions:
- inflect.Humanize
- inflect.Pluralize
- inflect.Singularize
aliases: [/functions/pluralize]
---
```go-html-template
{{ "cat" | pluralize }} → "cats"
```
|