Documentation ¶
Index ¶
- func Contains(a []string, e string) bool
- func DomainForm(s string) string
- func EqualSlice(a, b []string) bool
- func Filter(s []string, f func(string) bool) []string
- func Fmt(s string) string
- func IsBothAlphaNum(a string) bool
- func IsEmpty(s *string) bool
- func Join(a []*string, sep string) string
- func PrefixFold(s, prefix string) bool
- func Reverse(s string) string
- func VString(def string, args ...string) string
- func Val(v string, def string) string
- type Stripe
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DomainForm ¶
Allowed char: [a-z0-9]([a-z0-9-]*[a-z0-9])? Makes it safe as a subdomain
func EqualSlice ¶
func IsBothAlphaNum ¶
func PrefixFold ¶
Types ¶
type Stripe ¶
type Stripe struct { Result string // contains filtered or unexported fields }
Striplines wraps an output stream, stripping runs of consecutive empty lines. You must call Flush before the output stream will be complete. Implements io.WriteCloser, Writer, Closer.
Click to show internal directories.
Click to hide internal directories.