stringutil

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 5, 2018 License: MIT Imports: 5 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HashMailboxName

func HashMailboxName(mailbox string) string

HashMailboxName accepts a mailbox name and hashes it. filestore uses this as the directory to house the mailbox

func SliceContains

func SliceContains(slice []string, s string) bool

SliceContains returns true if s is present in slice.

func SliceToLower

func SliceToLower(slice []string)

SliceToLower lowercases the contents of slice of strings.

func StringAddressList

func StringAddressList(addrs []*mail.Address) []string

StringAddressList converts a list of addresses to a list of strings

Types

This section is empty.

Jump to

Keyboard shortcuts

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