utils

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NextID

func NextID() (uint64, error)

func ParseFloat64

func ParseFloat64(s string) float64

func ParseInt

func ParseInt(s string) int

Types

type IdGenerate

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

func NewIdGenerate

func NewIdGenerate(baseTime time.Time) *IdGenerate

func (*IdGenerate) Next

func (g *IdGenerate) Next() int64

Jump to

Keyboard shortcuts

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