validator

package
v0.14.4 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsCIDR added in v0.14.4

func IsCIDR(i string) bool

func IsDarwin added in v0.13.2

func IsDarwin() bool

func IsDomain added in v0.14.4

func IsDomain(i any) bool

If i is a domain return true.

func IsFile added in v0.14.4

func IsFile(f string) bool

If f is a valid path return true.

func IsIP added in v0.14.4

func IsIP(i string) bool

If i is a ipv address return true.

func IsIPv4 added in v0.14.4

func IsIPv4(i string) bool

If i is a ipv4 address return true.

func IsIPv4CIDR added in v0.14.4

func IsIPv4CIDR(i string) bool

func IsIPv6 added in v0.14.4

func IsIPv6(i string) bool

If i is a ipv6 address return true.

func IsIPv6CIDR added in v0.14.4

func IsIPv6CIDR(i string) bool

func IsURL added in v0.14.4

func IsURL(u string) bool

If u is a valid url return true.

func IsWindows added in v0.13.2

func IsWindows() bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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