text

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2021 License: GPL-3.0 Imports: 5 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cleanup

func Cleanup(text string) (string, error)

func Empty

func Empty(s string) bool

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

func Safe

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

func ValidUrl(s string) bool

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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