Documentation

Overview

    Package uuidv1 exports functions for creating version 1 UUIDs, based on the current or a fixed time.

    Index

    Examples

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    func New

    func New(t time.Time) uuid.UUID

      New creates a UUID using a given time.

      func Now

      func Now() uuid.UUID

        Now creates a UUID using the now time.

        Example
        Output:
        
        

        Types

        This section is empty.