Javen
|
b3fd282b50
|
feat: add address.Smart and Decompose for parse CN address (#346)
* feat: add address.Smart and Decompose for parse CN address
* feat: add Xinjiang directly-administered county-level cities support
- Add '自治区直辖县级市' as a city-level unit (ID: 4043) in A2Data for Xinjiang
- Add 12 directly-administered county-level cities in A3Data (IDs: 4044-4055):
* 石河子市 (Shihezi, 1976, 8th Division) - ID: 4044
* 阿拉尔市 (Aral, 2002, 1st Division) - ID: 4045
* 图木舒克市 (Tumxuk, 2002, 3rd Division) - ID: 4046
* 五家渠市 (Wujiaqu, 2002, 6th Division) - ID: 4047
* 北屯市 (Beitun, 2011, 10th Division) - ID: 4048
* 铁门关市 (Tiemenguan, 2012, 2nd Division) - ID: 4049
* 双河市 (Shuanghe, 2014, 5th Division) - ID: 4050
* 可克达拉市 (Kokdala, 2015, 4th Division) - ID: 4051
* 昆玉市 (Kunyu, 2016, 14th Division) - ID: 4052
* 胡杨河市 (Huyanghe, 2019, 7th Division) - ID: 4053
* 新星市 (Xinxing, 2021, 13th Division) - ID: 4054
* 白杨市 (Baiyang, 2023, 9th Division) - ID: 4055
- All county-level cities are under PID 4043 (自治区直辖县级市)
- Add test case for Xinjiang Shihezi city address parsing
- Now supports parsing addresses like: 新疆石河子市北三路25小区
* docs: formated address data
* fix: parse repeat address error
* feat: update readme file
---------
Co-authored-by: Jiawen <im@linjiawen.com>
|
2026-01-13 14:00:44 +08:00 |
|
dudaodong
|
30eb2c72b0
|
doc: rename parameter name of Comma
|
2024-09-27 10:23:29 +08:00 |
|
dudaodong
|
adf18a2e47
|
fix: fix bug of Comma, issue #248
|
2024-09-27 10:18:37 +08:00 |
|
dudaodong
|
38148978cf
|
refactoring: change unit variable to package internal
|
2024-08-26 16:25:57 +08:00 |
|
dudaodong
|
bc260277bc
|
fix: fix DecimalBytes and BinaryBytes issue #232
|
2024-08-19 11:36:49 +08:00 |
|
dudaodong
|
8f74460c1b
|
fix: remove scientific notation in DecimalBytes
|
2024-07-30 14:17:17 +08:00 |
|
dudaodong
|
d5752499bf
|
fix: remove scientific notation in DecimalBytes
|
2024-07-29 11:42:56 +08:00 |
|
dudaodong
|
66dfd9c4fd
|
refactor: refact Comma function
|
2024-01-25 16:45:17 +08:00 |
|
dudaodong
|
ab364744b6
|
test: add parallel running for all unit test functions
|
2023-06-29 14:49:28 +08:00 |
|
dudaodong
|
4311b9ac66
|
test: remove t.Log()
|
2023-04-26 14:59:45 +08:00 |
|
dudaodong
|
fcb3b97b45
|
doc: add docment and playground demo for v2.1.19
|
2023-04-18 15:21:03 +08:00 |
|
dudaodong
|
4a298876e9
|
doc: add docment and example for byte.go
|
2023-04-07 14:53:48 +08:00 |
|
dudaodong
|
74474cd9ef
|
feat: add feature for humanize byte unit
|
2023-04-07 14:18:28 +08:00 |
|
dudaodong
|
f23f18457e
|
feat: add Pretty and PrettyToWriter
|
2023-04-06 16:30:38 +08:00 |
|
dudaodong
|
3685aee02b
|
fix: fix bug of Comma function
|
2023-04-05 14:26:42 +08:00 |
|
dudaodong
|
046f3e0bf9
|
feat: add IsInt, IsFloat, IsNumber
|
2023-04-05 14:07:23 +08:00 |
|
dudaodong
|
64d5486cc6
|
doc: add example and update doc for formatter package
|
2023-01-02 15:35:09 +08:00 |
|
dudaodong
|
a70ec6ad1e
|
refactor: use constraints from golang.org/x/exp/constraints
|
2022-12-11 11:25:34 +08:00 |
|
dudaodong
|
1533d00891
|
refactor: update Comma function
|
2022-12-10 20:59:27 +08:00 |
|
dudaodong
|
50c6e51393
|
upgrade go module v2
|
2022-03-17 10:57:35 +08:00 |
|
dudaodong
|
c939b26cb8
|
refactor: interface{} -> any
|
2022-03-16 18:41:40 +08:00 |
|
dudaodong
|
b48155c249
|
refactor: rename files *_util.go to *_internal.go
|
2022-02-19 21:52:10 +08:00 |
|
dudaodong
|
41685022c0
|
refactor: rename files *_util.go to *_internal.go
|
2022-02-19 21:51:58 +08:00 |
|
dudaodong
|
b0e17c7bc4
|
refactor: rewrite all unit test functions with assert
|
2022-01-09 15:39:50 +08:00 |
|
dudaodong
|
c625a88067
|
refactor: rename package 'utils' to 'internal'
|
2021-12-31 11:36:11 +08:00 |
|
dudaodong
|
f2ed3c6270
|
test: add some unit test function for convertor, random, slice, and formatter
|
2021-11-29 17:27:02 +08:00 |
|
dudaodong
|
0c4b512084
|
fmt: fix some gofmt issue
|
2021-11-29 13:01:46 +08:00 |
|
dudaodong
|
3254591ab9
|
publish lancet
|
2021-11-28 21:28:23 +08:00 |
|