collection

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2016 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Oxford

func Oxford(collection []string, limit int) string

Oxford returns a string from a string collection by adding ", " as a seperator and the word "and" for the last seperator. A limit will print all elements to the limit and elements after the limit will be grouped with a "and n more". No limit is represented with with a limit <= 0

Types

This section is empty.

Jump to

Keyboard shortcuts

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