stringutil

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JoinAddress

func JoinAddress(addrs []mail.Address) string

JoinAddress formats a slice of Address structs such that they can be used in a To or Cc header.

func ToASCII added in v0.2.0

func ToASCII(s string) string

func UUID

func UUID() string

UUID generates a random UUID according to RFC 4122.

func Wrap

func Wrap(max int, strs ...string) []byte

Wrap builds a byte slice from strs, wrapping on word boundaries before max chars

Types

This section is empty.

Jump to

Keyboard shortcuts

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