Add global data variables

This commit is contained in:
guanguans 2021-01-09 13:33:12 +08:00
parent e2fc2e5353
commit e925273ff4
6 changed files with 62667 additions and 1 deletions

3
.gitignore vendored
View File

@ -1,3 +1,4 @@
.idea/ .idea/
.DS_Store .DS_Store
.history/ .history/
tests.go

3222
data/address_code.go Normal file

File diff suppressed because it is too large Load Diff

59356
data/address_code_timeline.go Normal file

File diff suppressed because it is too large Load Diff

18
data/chinese_zodiac.go Normal file
View File

@ -0,0 +1,18 @@
package data
// 生肖信息
var ChineseZodiac = [12]string{
"子鼠",
"丑牛",
"寅虎",
"卯兔",
"辰龙",
"巳蛇",
"午马",
"未羊",
"申猴",
"酉鸡",
"戌狗",
"亥猪",
}

66
data/constellation.go Normal file
View File

@ -0,0 +1,66 @@
package data
// 星座信息
var Constellation = [12]map[string]string{
{
"name": "水瓶座",
"start_date": "01-20",
"end_date": "02-18",
},
{
"name": "双鱼座",
"start_date": "02-19",
"end_date": "03-20",
},
{
"name": "白羊座",
"start_date": "03-21",
"end_date": "04-19",
},
{
"name": "金牛座",
"start_date": "04-20",
"end_date": "05-20",
},
{
"name": "双子座",
"start_date": "05-21",
"end_date": "06-21",
},
{
"name": "巨蟹座",
"start_date": "06-22",
"end_date": "07-22",
},
{
"name": "狮子座",
"start_date": "07-23",
"end_date": "08-22",
},
{
"name": "处女座",
"start_date": "08-23",
"end_date": "09-22",
},
{
"name": "天秤座",
"start_date": "09-23",
"end_date": "10-23",
},
{
"name": "天蝎座",
"start_date": "10-24",
"end_date": "11-22",
},
{
"name": "射手座",
"start_date": "11-23",
"end_date": "12-21",
},
{
"name": "摩羯座",
"start_date": "12-22",
"end_date": "01-19",
},
}

3
go.mod Normal file
View File

@ -0,0 +1,3 @@
module id-validator
go 1.14