faker

package
v0.0.0-...-022354b Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RandomEmail

func RandomEmail() string

func RandomFullName

func RandomFullName() string

func RandomHashedPassword

func RandomHashedPassword() (string, error)

Types

type User

type User struct {
	FullName string `fake:"{name}"`
	Username string `fake:"{username}"`
	Password string `fake:"{password:true,false,true,true,false,6}"`
	Email    string `fake:"{email}"`
}

func RandomUser

func RandomUser() (user *User, err error)

Jump to

Keyboard shortcuts

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