validation

package
v0.0.0-...-d6e685d Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileExists

func FileExists(FileName string) bool

Check if the file exists

func IsValidEmail

func IsValidEmail(email string) bool

func IsValidImageURL

func IsValidImageURL(URL string) bool

func IsvalidNormalstring

func IsvalidNormalstring(username string) bool

func SliceStringContains

func SliceStringContains(v []string, find any) bool

func TruncateString

func TruncateString(text string, lent int) string

Limits the number of words to a given number of words

Types

This section is empty.

Jump to

Keyboard shortcuts

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