Browse Source

Add global data variables

tags/v1.0.0
guanguans 3 years ago
parent
commit
e925273ff4
6 changed files with 62667 additions and 1 deletions
  1. +2
    -1
      .gitignore
  2. +3222
    -0
      data/address_code.go
  3. +59356
    -0
      data/address_code_timeline.go
  4. +18
    -0
      data/chinese_zodiac.go
  5. +66
    -0
      data/constellation.go
  6. +3
    -0
      go.mod

+ 2
- 1
.gitignore View File

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

+ 3222
- 0
data/address_code.go
File diff suppressed because it is too large
View File


+ 59356
- 0
data/address_code_timeline.go
File diff suppressed because it is too large
View File


+ 18
- 0
data/chinese_zodiac.go View File

@@ -0,0 +1,18 @@
package data

// 生肖信息

var ChineseZodiac = [12]string{
"子鼠",
"丑牛",
"寅虎",
"卯兔",
"辰龙",
"巳蛇",
"午马",
"未羊",
"申猴",
"酉鸡",
"戌狗",
"亥猪",
}

+ 66
- 0
data/constellation.go 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
- 0
go.mod View File

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

go 1.14

Loading…
Cancel
Save