|  | ||
|---|---|---|
| LICENSE | ||
| README.md | ||
| default.go | ||
| doc.go | ||
| t.go | ||
| t_bool.go | ||
| t_bool_test.go | ||
| t_phonenumber.go | ||
| t_phonenumber_canada.go | ||
| t_runes.go | ||
| t_runes_test.go | ||
| t_string.go | ||
| t_string_test.go | ||
		
			
				
				README.md
			
		
		
			
			
		
	
	go-arbitrary
go-arbitrary is a Go library which provides tools for generating arbitrary data.
Example
src := rand.NewSource( time.Now().UTC().UnixNano() )
arb := arbitrary.New(src)
// Generate an arbitrary bool.
// Might be false, might be true.
bl := arb.Bool()
// Generate an arbitrary string.
s := arb.String()
Documention
Online documentation, which includes examples, can be found at: http://godoc.org/github.com/reiver/go-arbitrary