ulid

package
v0.0.0-...-4450389 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const RFC3339Milli = "2006-01-02T15:04:05.000Z07:00"

Variables

View Source
var One = ulid.MustParse("00000000000000000000000001")

`ulid.One` can be used as a sentinel value.

View Source
var Parse = ulid.Parse

funcs

View Source
var Two = ulid.MustParse("00000000000000000000000002")

`ulid.Two` can be used as a sentinel value.

Functions

func Time

func Time(id I) time.Time

func TimeString

func TimeString(id I) string

Types

type I

type I = ulid.ULID

`I` is an `oklog/ulid.ULID`.

var Nil I

`Nil` is the all-zero null value.

func New

func New() (I, error)

func ParseBytes

func ParseBytes(data []byte) (I, error)

Jump to

Keyboard shortcuts

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