helpers

package
v0.0.0-...-74678e2 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileExists

func FileExists(filename string) bool

FileExists returns true is `filename` exists and is not a directory returns false otherwise

func FindAllString

func FindAllString(re *regexp2.Regexp, s string) []string

FindAllString returns a string slice containing all the strings that matched the specified pattern

func ListPatterns

func ListPatterns()

ListPatterns lists all of fatt's available search patterns

func StringInSlice

func StringInSlice(str string, slice []string) bool

StringInSlice returns true if `str` is in string slice `slice`

Types

This section is empty.

Jump to

Keyboard shortcuts

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