Commit Graph

96 Commits

Author SHA1 Message Date
John Guo
04eb654133 add error stack for internal error printing 2022-01-28 14:51:49 +08:00
John Guo
d322e67117 fix string print for time only gtime.Time; improve package drivers 2022-01-27 12:04:46 +08:00
John Guo
e90f72b538 improve UT cases for package gtime 2022-01-19 18:23:04 +08:00
John Guo
9efc2894d4 improve UT cases for package gtime 2022-01-19 18:18:30 +08:00
John Guo
07c5ce0bbc improve UT cases for package gtime 2022-01-19 17:26:39 +08:00
John Guo
3bbbe1db9c change pointer receiver that implements interface MarshalJSON to struct receiver for all packages 2022-01-19 16:55:57 +08:00
John Guo
d7b94428ae fix issue in json marshal for package egtime 2022-01-19 16:44:58 +08:00
John Guo
48c5c1e5a8 change errors wrapped by gerror.Wrap with error stack info for all packages 2021-12-23 00:09:00 +08:00
John Guo
ce93b625d4 change errors wrapped by gerror.Wrap with error stack info for all packages 2021-12-21 22:59:14 +08:00
ansionfor
8f0c0337c5 update gtime example output 2021-11-30 23:10:02 +08:00
ansionfor
0340fb7124 update gtime example 2021-11-30 22:53:28 +08:00
ansionfor
6acb2f46e6 update gtime example 2021-11-29 10:14:55 +08:00
ansionfor
578d8218bd go fmt 2021-11-29 10:08:12 +08:00
heansheng
f754bdbb0e
Update gtime_z_example_time_test.go 2021-11-29 10:05:52 +08:00
ansionfor
3ff77a87d4 add json 2021-11-28 23:57:49 +08:00
ansionfor
2ead7606b2 go fmt 2021-11-28 23:41:41 +08:00
heansheng
1fdf85e3b8
update MarshalJSON example 2021-11-28 23:36:21 +08:00
John Guo
57ccc13e0c unit testing files renaming 2021-11-17 23:20:58 +08:00
houseme
4fa2a879d7 [feature] improve code gview 2021-11-15 20:49:02 +08:00
houseme
b59ed1b943 Improved import, by group improt. 2021-11-14 15:37:24 +08:00
ansionfor
15deeb19b0 go fmt 2021-11-13 23:48:47 +08:00
ansionfor
cfa3d817af update gtime example 2021-11-13 23:16:18 +08:00
ansionfor
50ad3f0f26 go fmt 2021-11-11 17:49:43 +08:00
ansionfor
da659817c5 complete gtime example 2021-11-11 17:41:31 +08:00
John Guo
fa5499373a replace char <xxx> to ;add GetWithEnv/GetWithCmd fuctions for package gcfg 2021-10-21 18:22:47 +08:00
John Guo
1bc0635f8b version 2 2021-10-11 21:41:56 +08:00
John Guo
993bf897cf remove deprecated functions; refract package gjson 2021-09-27 22:47:39 +08:00
John Guo
df09d8c604 refract package ghttp/gredis/glog 2021-09-27 21:27:24 +08:00
jianchenma
01a3dd1eb0 add function gerror.HasStack; rename all api* interfaces to i* 2021-09-17 19:26:56 +08:00
John Guo
73d2b7ed06 fix issue #1387 2021-08-30 22:26:02 +08:00
John Guo
abc8e62d58 add package gcode and improve error implements for package gerror 2021-08-24 21:18:59 +08:00
John Guo
0e158903c2 improve package gtimer for priority checks 2021-08-06 12:08:49 +08:00
John Guo
0ddacdd7e2 add error code for components 2021-07-20 23:02:02 +08:00
John Guo
2274a10cfd fx issue #1250 2021-05-17 19:59:34 +08:00
John Guo
7003c284d0 replace json.Unmarshal with json.UnmarshalUseNumber for packages 2021-05-15 22:38:07 +08:00
jflyfox
d0753fa527 Merge branch 'develop' 2021-04-26 20:38:16 +08:00
jflyfox
524e3bedc7 improve empty value validation for required-with* patterns for package gvalid 2021-04-26 20:37:36 +08:00
John Guo
ec00e99477 comments update for package gtime 2021-04-01 09:41:14 +08:00
yys
ed71d2b2ac add test 2021-03-31 14:07:28 +08:00
yys
7c51ff4707 gtime 修改 2021-03-25 13:38:59 +08:00
yys
17233084f1 为gtime添加scanner和valuer 2021-03-13 14:07:22 +08:00
John Guo
285ad36e7d add short datetime string parsing support for package gtime 2021-02-21 22:24:51 +08:00
gouguoyin
28f83d3d32
formatMonthDaySuffixMap() misjudged suffix
when day is 21,abbreviated as 21st,suffix is st ,is not th
when day is 22,abbreviated as 22nd,suffix is nd ,is not th
when day is 23,abbreviated as 23rd,suffix is rd ,is not th
when day is 31,abbreviated as 31st,suffix is st ,is not th
2021-01-31 15:40:27 +08:00
John Guo
a2b322a31b improve gtime.ParseTimeFromContent 2021-01-27 23:37:04 +08:00
John Guo
093034acd1 copyright comment update 2021-01-17 21:46:25 +08:00
John Guo
6f968a125e improve time converting for package gconv 2021-01-17 21:39:17 +08:00
John Guo
5c9cee7fb9 improve package gconv 2021-01-17 20:56:38 +08:00
John Guo
bc4d84b60f improve comment for package gtime 2021-01-14 00:27:01 +08:00
John Guo
6a67dceca7
Merge pull request #1092 from tiansin/master
feat: 🎨 some time features.
2021-01-14 00:15:44 +08:00
tiansin
55a7c01f73 feat: 🚑 Add function comment 2021-01-13 16:14:21 +08:00