houseme
1793bf0863
add golangci feature to guarantee codes quality ( #2229 )
2022-11-01 20:12:21 +08:00
John Guo
425b31c6fd
improve nil receiver handling for package gtime ( #2226 )
...
* improve nil receiver handling for package gtime
* CI updates
* CI updates
2022-10-26 18:37:40 +08:00
John Guo
1acc1b8230
improve DeepCopy feature for bunch of components, especially the container and gtime ( #1956 )
2022-06-29 14:58:27 +08:00
John Guo
0d7e28ee75
add deep copy feature
2022-05-23 16:51:10 +08:00
John Guo
21f48d3750
improve Unique function performance for normal arrays
2022-03-30 14:32:16 +08:00
John Guo
f670c24e2c
fix issue #1681
2022-03-21 22:24:59 +08:00
John Guo
546b6b1724
t.Assert(err, nil) -> t.AssertNil(err)
2022-03-10 11:36:40 +08:00
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