ja_JP

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: 1 Imported by: 0

Documentation

Index

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 CreateAddresses() *provider.Addresses

func CreateCompanies

func CreateCompanies() *provider.Companies

func CreateJaJpAddress

func CreateJaJpAddress(a any) any

func CreateJaJpArea

func CreateJaJpArea(a any) any

func CreateJaJpCity

func CreateJaJpCity(a any) any

func CreateJaJpCompany

func CreateJaJpCompany(c any) any

func CreateJaJpSecondaryAddress

func CreateJaJpSecondaryAddress(a any) any

func CreateJaJpWard

func CreateJaJpWard(a any) any

func CreatePeople

func CreatePeople() *provider.People

func New

func New() *provider.Localized

Types

type Address

type Address struct {
	Postcode         string
	Prefecture       string
	City             string
	Ward             string
	Area             string
	SecondaryAddress string
}

type AddressGenerator

type AddressGenerator interface {
	Postcode() string
	Prefecture() string
	City() string
	Ward() string
	Area() string
	SecondaryAddress() string
}

type Area

type Area struct {
	AreaName   string
	AreaNumber string
}

type AreaGenerator

type AreaGenerator interface {
	AreaName() string
	AreaNumber() string
}

type City

type City struct {
	CityName   string
	CitySuffix string
}

type CityGenerator

type CityGenerator interface {
	CityName() string
	CitySuffix() string
}

type JaJpCompany

type JaJpCompany struct {
	CompanyName   string
	CompanyPrefix string
	CompanySuffix string
}

type JaJpCompanyGenerator

type JaJpCompanyGenerator interface {
	CompanyName() string
	CompanySuffix() string
	CompanyPrefix() string
}

type JaJpPersonName

type JaJpPersonName struct {
	FirstName string
	LastName  string
}

type NameGenerator

type NameGenerator interface {
	FirstNameMale() string
	FirstNameFemale() string
	LastName() string
	FirstKanaNameMale() string
	FirstKanaNameFemale() string
	LastKanaName() string
}

type SecondaryAddress

type SecondaryAddress struct {
	BuildingName string
	RoomNumbers  string
}

type SecondaryAddressGenerator

type SecondaryAddressGenerator interface {
	BuildingName() string
	RoomNumber() string
}

type Ward

type Ward struct {
	WardName   string
	WardSuffix string
}

type WardGenerator

type WardGenerator interface {
	WardName() string
	WardSuffix() string
}

Jump to

Keyboard shortcuts

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