util

package
v0.0.0-...-880b486 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReturnParsedEntityID

func ReturnParsedEntityID(entityID string) (*model.ParsedEntityID, error)

func UUIDv4

func UUIDv4() string

Types

type FrozenTime

type FrozenTime struct {
	NowTime time.Time
}

func (*FrozenTime) Now

func (ft *FrozenTime) Now() time.Time

type RealTime

type RealTime struct{}

func (*RealTime) Now

func (rt *RealTime) Now() time.Time

type TimeProvider

type TimeProvider interface {
	Now() time.Time
}

Jump to

Keyboard shortcuts

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