shortuuid

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 23, 2018 License: MIT Imports: 3 Imported by: 0

README

DB friendly Short UUID.V1 implementation for Go language

BuildStatus Widget CodeCovWidget GoReport Widget GoDoc Widget

This package provides fast shortuuid implementation friendly for DB indexes (for UUID V1)

Installation

Use the go command:

$ go get github.com/NexoMichael/shortuuid

Requirements

shortuuid package requires Go >= 1.5.

Copyright (C) 2018 by Mikhail Kochegarov mikhail@kochegarov.biz.

UUID package releaed under MIT License. See LICENSE for details.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UUID

type UUID []byte

UUID representation

func NewFromString

func NewFromString(in string) UUID

NewFromString returns new uuid value converted from string representation of UUID

func NewFromStringer

func NewFromStringer(in fmt.Stringer) UUID

NewFromStringer returns uuid value converted from any stringable representation of proper length and format

func (UUID) String

func (u UUID) String() string

String is implementation of standart Stringer interface

Jump to

Keyboard shortcuts

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