test

package
v1.23.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2018 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CharsetUppercase    = "ABCDEFGHIJKLMNOPQRSTUVWYXZ"
	CharsetLowercase    = "abcdefghijklmnopqrstuvwxyz"
	CharsetNumeric      = "1234567890"
	CharsetWhitespace   = " "
	CharsetSymbols      = "!\"#$%&'()*+,-./:;<=>@\\]^_`{|}~"
	CharsetAlphaNumeric = CharsetUppercase + CharsetLowercase + CharsetNumeric
	CharsetText         = CharsetAlphaNumeric + CharsetWhitespace + CharsetSymbols
)

Variables

This section is empty.

Functions

func NewString

func NewString(length int, charset string) string

func NewText

func NewText(minimumLength int, maximumLength int) string

func NewVariableString

func NewVariableString(minimumLength int, maximumLength int, charset string) string

Types

type Mock

type Mock struct {
	ID string
}

func NewMock

func NewMock() *Mock

func (*Mock) Expectations

func (m *Mock) Expectations()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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