utils

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidHex

func IsValidHex(s string, length int) bool

IsValidHex checks if a string is a valid hex code of a given length.

func IsValidSubdomain

func IsValidSubdomain(s string) bool

IsValidSubdomain checks if a string is a valid URL subdomain.

func IsValidURL

func IsValidURL(s string) bool

IsValidURL checks if a string is 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