uuid

package
v0.0.0-...-1ac4f16 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator interface {
	// NewUUID generates an UUID.
	NewUUID() string
}

Generator is an interface of an UUID generator.

type GeneratorFunc

type GeneratorFunc func() string

GeneratorFunc is an adapter that simplifies creating Generator.

func (GeneratorFunc) NewUUID

func (f GeneratorFunc) NewUUID() string

NewUUID returns new UUID. It calls the inner method of GeneratorFunc.

Directories

Path Synopsis
Code generated by mockery v1.0.0
Code generated by mockery v1.0.0

Jump to

Keyboard shortcuts

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