utils

package
v0.0.0-...-ed4fdcb Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2017 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DumpList

func DumpList(to interface{}, from interface{})

func DumpStruct

func DumpStruct(to interface{}, from interface{})

Be careful to use, from,to must be pointer

func GenCryptoUniqueId

func GenCryptoUniqueId() string

Types

type IdGenerator

type IdGenerator struct {
	Key []byte
	// contains filtered or unexported fields
}

Key的长度必须为8

func (*IdGenerator) GenCryptoUniqueId

func (p *IdGenerator) GenCryptoUniqueId() string

Jump to

Keyboard shortcuts

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