key: support parsing hex number (#178)

* parse hex number on map to struct

* pasre hex number on slice int

* add test case
fix: Key().Int() use ParseInt instead of Atoi

* testcase move to L183

* fix names
This commit is contained in:
DP
2019-01-03 09:51:06 +08:00
committed by 无闻
parent c498c36b6f
commit f841668f03
4 changed files with 19 additions and 8 deletions
+1
View File
@@ -36,6 +36,7 @@ INT = 10
TIME = 2015-01-01T20:17:05Z
DURATION = 2h45m
UINT = 3
HEX_NUMBER = 0x3000
[array]
STRINGS = en, zh, de