humanize

package
v1.73.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QuotedJoin

func QuotedJoin(terms []string, conjunction, none string) string

QuotedJoin transforms a list of terms into an English (Chicago Manual Style) serial comma delimited list with the given conjunction ("and", "or") and each term enquoted. It displays the "none" case if the list is empty, like "no soup".

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL