provider

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Addresses

type Addresses struct {
	Countries   []string
	Postcodes   []string
	States      []string
	StateAbbrs  []string
	Prefectures []string
	// city
	CityNames    []string
	CityPrefixes []string
	CitySuffixes []string
	CityFormats  []string
	CreateCity   func(any) any
	// ward
	WardNames    []string
	WardSuffixes []string
	WardFormats  []string
	CreateWard   func(any) any
	// area
	AreaNames   []string
	AreaNumbers []string
	AreaFormats []string
	CreateArea  func(any) any
	// street
	StreetNames    []string
	StreetSuffixes []string
	StreetFormats  []string
	CreateStreet   func(any) any
	// street address
	StreetAddressFormats []string
	CreateStreetAddress  func(any) any
	// secondary address
	BuildingNames           []string
	BuildingNumbers         []string
	RoomNumbers             []string
	SecondaryAddressFormats []string
	CreateSecondaryAddress  func(any) any

	AddressFormats []string
	CreateAddress  func(any) any
}

type Colors

type Colors struct {
	SafeColorNames []string
	AllColorNames  []string
}

type Companies

type Companies struct {
	// company name
	CompanyNames    []string
	CompanyPrefixes []string
	CompanySuffixes []string
	CompanyFormats  []string
	CreateCompany   func(any) any
	// job title
	JobTitleNames   []string
	JobTitleFormats []string
	CreateJobTitle  func(any) any
	// EIN
	EinPrefixes []string
}

type Files

type Files struct {
	// REFACTOR: MimeTypes should be `MimeTypesAndExtensions`?
	// MimeTypes type should be map[string][]string
	// because of type restriction, it is set as map[any][]any
	MimeTypes map[any][]any
}

type Global

type Global struct {
	Colors    *Colors
	Files     *Files
	Images    *Images
	Internets *Internets
	Lorems    *Lorems
}

type Images

type Images struct{}

type Internets

type Internets struct {
	// username
	FirstNames      []string
	LastNames       []string
	UserNameFormats []string
	CreateUserName  func(any) any
	// email
	EmailFormats []string
	Tld          []string
	CreateEmail  func(any) any
	//
	UrlFormats    []string
	LocalIpBlocks [][]string
}

type Localized

type Localized struct {
	People    *People
	Addresses *Addresses
	Companies *Companies
}

type Lorems

type Lorems struct {
	Words []string
}

type People

type People struct {
	FirstNameMales    []string
	FirstNameFemales  []string
	LastNames         []string
	TitleMales        []string
	TitleFemales      []string
	Suffixes          []string // REFACTOR: Rename to `PersonNameSuffixes“
	MaleNameFormats   []string
	CreateNameMale    func(any) any
	FemaleNameFormats []string
	CreateNameFemale  func(any) any
	// ja_JP
	FirstKanaNameMales   []string
	FirstKanaNameFemales []string
	LastKanaNames        []string
	CreateKanaNameMale   func(any) any
	CreateKanaNameFemale func(any) any
}

Directories

Path Synopsis
locale

Jump to

Keyboard shortcuts

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