validate

package
v1.9.0-test3 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2025 License: LGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotInWorldCardinalRoot = eris.New("Not in a World Cardinal root")

Functions

func Email

func Email(email string) error

Email checks if an email address is syntactically valid and supports internationalized domain names (RFC 6531).

func IsInWorldCardinalRoot

func IsInWorldCardinalRoot() (bool, error)

IsInWorldCardinalRoot checks if the current working directory is a World project. It checks for the presence of world.toml and cardinal directory.

func IsURL

func IsURL(urlStr string) error

func Name

func Name(name string, maxLength int) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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