git-bug: github.com/MichaelMure/git-bug/util/text Index | Files

package text

import "github.com/MichaelMure/git-bug/util/text"

Index

Package Files

transform.go validate.go

func Cleanup Uses

func Cleanup(text string) (string, error)

func Empty Uses

func Empty(s string) bool

Empty tell if the string is considered empty once space and not graphics characters are removed

func Safe Uses

func Safe(s string) bool

Safe will tell if a character in the string is considered unsafe Currently trigger on unicode control character except \n, \t and \r

func ValidUrl Uses

func ValidUrl(s string) bool

ValidUrl will tell if the string contains what seems to be a valid URL

Package text imports 5 packages (graph) and is imported by 8 packages. Updated 2019-12-21. Refresh now. Tools for package owners.