genusers

package
v0.2.37 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadTemplates

func DownloadTemplates(dirTarget string) ([]string, []error)

Types

type GenUserItem

type GenUserItem struct {
	Name        string `json:"name"`
	Surname     string `json:"surname"`
	FullName    string `json:"fullname"`
	Gender      string `json:"gender"`
	Email       string `json:"email"`
	Mobile      string `json:"mobile"`
	Country     string `json:"country"`
	CountryCode string `json:"country_code"`
	Username    string `json:"username"`
	Password    string `json:"password"`
}

func (*GenUserItem) Map

func (instance *GenUserItem) Map(fields ...string) map[string]interface{}

func (*GenUserItem) String

func (instance *GenUserItem) String() string

type GenUsersEngine

type GenUsersEngine struct {
	// contains filtered or unexported fields
}

func (*GenUsersEngine) Generate

func (instance *GenUsersEngine) Generate(num int) ([]*GenUserItem, error)

func (*GenUsersEngine) HasError

func (instance *GenUsersEngine) HasError() bool

type GenUsersHelper

type GenUsersHelper struct {
}
var GenUsers *GenUsersHelper

func (*GenUsersHelper) NewEngine

func (instance *GenUsersHelper) NewEngine(root string) *GenUsersEngine

Jump to

Keyboard shortcuts

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