is

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package is provides pure predicates for common string formats.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base64

func Base64(s string) bool

func Email

func Email(s string) bool

func Hostname

func Hostname(s string) bool

func IP

func IP(s string) bool

func IPv4

func IPv4(s string) bool

func IPv6

func IPv6(s string) bool

func JSON

func JSON(s string) bool

JSON reports whether s is well-formed JSON (empty is not).

func MAC

func MAC(s string) bool

MAC accepts any net.ParseMAC format.

func URI

func URI(s string) bool

URI requires a scheme but no host, unlike URL.

func URL

func URL(s string) bool

func UUID

func UUID(s string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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