tools

package
v0.0.0-...-a17827a Latest Latest
Warning

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

Go to latest
Published: May 14, 2017 License: GPL-3.0 Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsZeroOrNil

func IsZeroOrNil(x interface{}) bool

IsZeroOrNil return true if x is the zero value of the its type

func RandomString

func RandomString(n int) string

RandomString generate a new random string of n characters. Because of the use of src.Int63(), this function is not thread safe

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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