id

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValid

func IsValid(s string) bool

func NewString

func NewString() (string, error)

func NewStringFromTime

func NewStringFromTime(time time.Time) (string, error)

Types

type ID

type ID struct {
	// contains filtered or unexported fields
}

func NewFromTime

func NewFromTime(time time.Time) (*ID, error)

func Parse

func Parse(s string) (*ID, error)

func (*ID) Time

func (id *ID) Time() time.Time

Jump to

Keyboard shortcuts

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