Documentation ¶
Overview ¶
encoding/guid supports encoding and decoding Guid values.
Index ¶
Constants ¶
View Source
const (
// GuidPattern is a regexp pattern for GUIDs.
GuidPattern = `^([0-9a-fA-F]{8})-?([0-9a-fA-F]{4})-?([0-9a-fA-F]{4})-?([0-9a-fA-F]{4})-?([0-9a-fA-F]{12})$`
)
Variables ¶
This section is empty.
Functions ¶
func Base58ToGuid ¶
Base58ToGuid converts a Base58 string to a GUID string, with or without hyphens, using the Bitcoin alphabet.
func GuidToBase58 ¶
GuidToBase58 converts a GUID string to a Base58 string using the Bitcoin alphabet.
func GuidToBigInt ¶
GuidToBigInt converts a GUID string, with or with out hypens, to a *big.Int.
func ValidGuidHex ¶
ValidGuidHex checks to see if a string is a valid GUID.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.