utl

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsExcluded added in v0.4.1

func IsExcluded(s string, excludes []string) bool

IsExcluded checks if s string is excluded in excludes If excludes is empty, assume false

func IsIncluded added in v0.4.1

func IsIncluded(s string, includes []string) bool

IsIncluded checks if s string is included in includes If includes is empty, assume true

func MatchString

func MatchString(exp string, s string) bool

MatchString reports whether a string s contains any match of a regular expression.

Types

This section is empty.

Jump to

Keyboard shortcuts

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