text

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

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