parse

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	UUIDv4RegexStr = "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[89ab][0-9a-f]{3}-[0-9a-f]{12}"
	UUIDv4Regex    = regexp.MustCompile(UUIDv4RegexStr)
)

Functions

func IsUUIDv4

func IsUUIDv4(s string) bool

IsUUIDv4 checks if a string is a UUIDv4.

func ReadUUIDv4

func ReadUUIDv4(s string) (string, error)

ReadUUIDv4 reads a UUIDv4 from a string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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