Documentation ¶
Index ¶
- Variables
- func CreateAddresses() *provider.Addresses
- func CreateCompanies() *provider.Companies
- func CreateJaJpAddress(a any) any
- func CreateJaJpArea(a any) any
- func CreateJaJpCity(a any) any
- func CreateJaJpCompany(c any) any
- func CreateJaJpSecondaryAddress(a any) any
- func CreateJaJpWard(a any) any
- func CreatePeople() *provider.People
- func New() *provider.Localized
- type Address
- type AddressGenerator
- type Area
- type AreaGenerator
- type City
- type CityGenerator
- type JaJpCompany
- type JaJpCompanyGenerator
- type JaJpPersonName
- type NameGenerator
- type SecondaryAddress
- type SecondaryAddressGenerator
- type Ward
- type WardGenerator
Constants ¶
This section is empty.
Variables ¶
View Source
var AddressFormats = []string{
"{{.Postcode}} {{.Prefecture}}{{.City}}{{.Area}}",
"{{.Postcode}} {{.Prefecture}}{{.City}}{{.Ward}}{{.Area}}",
"{{.Postcode}} {{.Prefecture}}{{.City}}{{.Ward}}{{.Area}} {{.SecondaryAddress}}",
}
View Source
var AreaFormats = []string{"{{.AreaName}}{{.AreaNumber}}"}
View Source
var AreaNames = []string{}/* 193 elements not displayed */
View Source
var AreaNumbers = []string{
"#丁目#番地#", "#丁目#番地##", "#丁目#番地###",
"#丁目##番地#", "#丁目##番地##", "#丁目##番地###",
"#丁目###番地#", "#丁目###番地##", "#丁目###番地###",
"#-#-#", "#-#-##", "#-#-###",
"#-##-#", "#-##-##", "#-##-###",
"#-###-#", "#-###-##", "#-###-###",
}
View Source
var BuildingNames = &LastNames
View Source
var CityFormats = []string{"{{.CityName}}{{.CitySuffix}}"}
View Source
var CityNames = []string{}/* 246 elements not displayed */
View Source
var CitySuffixes = []string{"市", "町", "村"}
View Source
var CompanyFormats = []string{
"{{.CompanyPrefix}} {{.CompanyName}}",
"{{.CompanyName}} {{.CompanySuffix}}",
}
View Source
var CompanyNames = &LastNames
View Source
var CompanyPrefixes = []string{"株式会社", "有限会社"}
View Source
var CompanySuffixes = &CompanyPrefixes
View Source
var Countries = []string{}/* 244 elements not displayed */
View Source
var FirstKanaNameFemales = []string{
"アケミ", "アスカ", "カオリ", "カナ", "クミコ", "サユリ", "サトミ", "チヨ",
"ナオコ", "ナナミ", "ハナコ", "ハルカ", "マアヤ", "マイ", "ミカコ", "ミキ", "モモコ", "ユイ", "ユミコ", "ヨウコ", "リカ",
}
View Source
var FirstKanaNameMales = []string{
"アキラ", "アツシ", "オサム", "カズヤ", "キョウスケ", "ケンイチ", "シュウヘイ", "ショウタ", "ジュン", "ソウタロウ",
"タイチ", "タロウ", "タクマ", "ツバサ", "トモヤ", "ナオキ", "ナオト", "ヒデキ", "ヒロシ", "マナブ", "ミツル", "ミノル",
"ユウキ", "ユウタ", "ヤスヒロ", "ヨウイチ", "ヨウスケ", "リョウスケ", "リョウヘイ", "レイ",
}
View Source
var FirstNameFemales = []string{
"明美", "あすか", "香織", "加奈", "くみ子", "さゆり", "知実", "千代",
"直子", "七夏", "花子", "春香", "真綾", "舞", "美加子", "幹", "桃子", "結衣", "裕美子", "陽子", "里佳",
}
View Source
var FirstNameMales = []string{
"晃", "篤司", "治", "和也", "京助", "健一", "修平", "翔太", "淳", "聡太郎", "太一", "太郎", "拓真", "翼", "智也",
"直樹", "直人", "英樹", "浩", "学", "充", "稔", "裕樹", "裕太", "康弘", "陽一", "洋介", "亮介", "涼平", "零",
}
View Source
var LastKanaNames = []string{
"アオタ", "アオヤマ", "イシダ", "イダカ", "イトウ", "ウノ", "エコダ", "オオガキ",
"カノウ", "カノウ", "キジマ", "キムラ", "キリヤマ", "クドウ", "コイズミ", "コバヤシ", "コンドウ",
"サイトウ", "サカモト", "ササキ", "サトウ", "ササダ", "スズキ", "スギヤマ",
"タカハシ", "タナカ", "タナベ", "ツダ",
"ナカジマ", "ナカムラ", "ナギサ", "ナカツガワ", "ニシノソノ", "ノムラ",
"ハラダ", "ハマダ", "ヒロカワ", "フジモト",
"マツモト", "ミヤケ", "ミヤザワ", "ムラヤマ",
"ヤマギシ", "ヤマグチ", "ヤマダ", "ヤマモト", "ヨシダ", "ヨシモト",
"ワカマツ", "ワタナベ",
}
View Source
var LastNames = []string{
"青田", "青山", "石田", "井高", "伊藤", "井上", "宇野", "江古田", "大垣",
"加藤", "加納", "喜嶋", "木村", "桐山", "工藤", "小泉", "小林", "近藤",
"斉藤", "坂本", "佐々木", "佐藤", "笹田", "鈴木", "杉山",
"高橋", "田中", "田辺", "津田",
"中島", "中村", "渚", "中津川", "西之園", "野村",
"原田", "浜田", "廣川", "藤本",
"松本", "三宅", "宮沢", "村山",
"山岸", "山口", "山田", "山本", "吉田", "吉本",
"若松", "渡辺",
}
View Source
var NameFormats = []string{
"{{.LastName}} {{.FirstName}}",
}
View Source
var Postcodes = []string{"###-####", "#######"}
View Source
var Prefectures = []string{
"北海道",
"青森県", "岩手県", "宮城県", "秋田県", "山形県", "福島県",
"茨城県", "栃木県", "群馬県", "埼玉県", "千葉県", "東京都", "神奈川県",
"新潟県", "富山県", "石川県", "福井県", "山梨県", "長野県", "岐阜県", "静岡県", "愛知県",
"三重県", "滋賀県", "京都府", "大阪府", "兵庫県", "奈良県", "和歌山県",
"鳥取県", "島根県", "岡山県", "広島県", "山口県",
"徳島県", "香川県", "愛媛県", "高知県",
"福岡県", "佐賀県", "長崎県", "熊本県", "大分県", "宮崎県", "鹿児島県",
"沖縄県",
}
View Source
var RoomNumbers = []string{"#0#", "###", "#?", "####", "###?"}
View Source
var SecondaryAddressFormats = []string{
"ハイツ{{.BuildingName}}{{.RoomNumbers}}号",
"コーポ{{.BuildingName}}{{.RoomNumbers}}号",
"メゾン{{.BuildingName}}{{.RoomNumbers}}号",
"カーサ{{.BuildingName}}{{.RoomNumbers}}号",
"レジデンス{{.BuildingName}}{{.RoomNumbers}}号",
"{{.BuildingName}}荘{{.RoomNumbers}}号",
}
View Source
var WardFormats = []string{"{{.WardName}}{{.WardSuffix}}"}
View Source
var WardNames = []string{"中央", "北", "東", "南", "西", "中", "港"}
View Source
var WardSuffixes = []string{"区"}
Functions ¶
func CreateAddresses ¶
func CreateCompanies ¶
func CreateJaJpAddress ¶
func CreateJaJpArea ¶
func CreateJaJpCity ¶
func CreateJaJpCompany ¶
func CreateJaJpWard ¶
func CreatePeople ¶
Types ¶
type AddressGenerator ¶
type AreaGenerator ¶
type CityGenerator ¶
type JaJpCompany ¶
type JaJpCompanyGenerator ¶
type JaJpPersonName ¶
type NameGenerator ¶
type SecondaryAddress ¶
type WardGenerator ¶
Click to show internal directories.
Click to hide internal directories.