faker

package
v0.0.0-...-6fd8457 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package faker provides a simple interface for generating fake data for testing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Faker

type Faker struct{}

func NewFaker

func NewFaker() *Faker

func (*Faker) Bool

func (f *Faker) Bool() bool

func (*Faker) Email

func (f *Faker) Email() string

func (*Faker) Num

func (f *Faker) Num(min, max int) int

func (*Faker) Path

func (f *Faker) Path() string

func (*Faker) Str

func (f *Faker) Str(length int) string

func (*Faker) Time

func (f *Faker) Time() time.Time

Jump to

Keyboard shortcuts

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