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 RFC 4122 document.
func New ¶
func New() UUID
New returns a new uuid using RFC 4122 algorithm.
func Parse ¶
Parse parses a string formatted as "003020100-0504-0706-0809-0a0b0c0d0e0f" or "{03020100-0504-0706-0809-0a0b0c0d0e0f}" into a UUID.
func (UUID) String ¶
String returns an unparsed version of the generated UUID sequence.
Source Files ¶
- Version
- v0.2.3
- Published
- Jul 28, 2020
- Platform
- js/wasm
- Imports
- 4 packages
- Last checked
- 6 hours ago –
Tools for package owners.