package uuid
import "github.com/Azure/azure-sdk-for-go/sdk/internal/uuid"
Index ¶
Types ¶
type UUID ¶
type UUID [16]byte
A UUID representation compliant with specification in RFC4122 document.
func New ¶
New returns a new UUID using the RFC4122 algorithm.
func Parse ¶
Parse parses a string formatted as "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" or "{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}" into a UUID.
func (UUID) String ¶
String returns the UUID in "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" format.
Source Files ¶
- Version
- v1.11.1 (latest)
- Published
- Apr 7, 2025
- Platform
- darwin/amd64
- Imports
- 4 packages
- Last checked
- 19 hours ago –
Tools for package owners.