strings

package
v3.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Indent

func Indent(width int, indent, s string) string

Indent - indent each line of the string with the given indent string

func Sort

func Sort(list []string) []string

Sort - return an alphanumerically-sorted list of strings

func Trunc

func Trunc(length int, s string) string

Trunc - truncate a string to the given length

Types

This section is empty.

Jump to

Keyboard shortcuts

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