testutil

package
v0.0.0-...-4553cd5 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2016 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package testutil provides various methods which we commonly use when writing tests

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RandInt64

func RandInt64() int64

RandInt64 returns a random integer. greater than or equal to 0, and less than 1 million. It's not necessary to do any seeding to use this method

func RandStr

func RandStr() string

RandStr returns a random alphanumeric string of arbitrary length. It's not necessary to do any seeding to use this method

Types

This section is empty.

Jump to

Keyboard shortcuts

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