url

package
v0.10.10 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2025 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidURL = errors.New("invalid URL")
)

Functions

func IsURL

func IsURL(str string) error

IsURL checks if a string is a valid URL

Parameters:

  • str: the string to check

Returns:

  • error: nil if the string is a valid URL, otherwise an error

Types

This section is empty.

Jump to

Keyboard shortcuts

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