Commit Graph

48 Commits

Author SHA1 Message Date
海亮
3cd005911d
fix issue reading resource from manage in function New of package gres (#2961) 2023-10-10 20:02:52 +08:00
John Guo
9620b15ea1
fix length check issue (#2725) 2023-07-04 09:49:09 +08:00
aries
1bbfc56121
improve key words transaction for package i18n (#2652) 2023-06-06 21:03:25 +08:00
HaiLaz
adf90c876f
improve unit testing cases (#2468) 2023-02-23 10:07:40 +08:00
houseme
1793bf0863
add golangci feature to guarantee codes quality (#2229) 2022-11-01 20:12:21 +08:00
John Guo
2598745e50
fix issue #1971 (#2203)
Co-authored-by: houseme <housemecn@gmail.com>
2022-10-14 10:10:27 +08:00
John Guo
059c62a6c0 ci test 2022-05-12 15:25:28 +08:00
John Guo
bceb5fc7de rename gdebug.TestData* -> gtest.Data*; add UT case for http server 2022-03-17 16:58:04 +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
57ccc13e0c unit testing files renaming 2021-11-17 23:20:58 +08:00
houseme
be03b3cdda Improved import, by group improt. 2021-11-13 23:23:55 +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
abc8e62d58 add package gcode and improve error implements for package gerror 2021-08-24 21:18:59 +08:00
John Guo
0ddacdd7e2 add error code for components 2021-07-20 23:02:02 +08:00
John Guo
d109706ad3 unify error package to gerror 2021-06-26 18:34:26 +08:00
John Guo
50ffaef33f add context for intlog/gsession;improve struct/structs converting for package gconv 2021-06-26 16:23:54 +08:00
John Guo
c8c28770fb change Error from struct to interface for package gvalid;error string update for package gdb 2021-05-18 20:51:31 +08:00
John Guo
cc1224e032 add context for package gvalid.Check* functions 2021-05-13 20:56:52 +08:00
John Guo
a326f4a989 improve package gi18n/gview/gvalid for more flexable i18n feature controll,add custom error configuration and i18n translation for custom error message 2021-05-13 00:16:45 +08:00
John Guo
b2acd22f58 improve package gi18n 2021-03-29 17:36:51 +08:00
jianchenma
150f237f13 fix issue in incorrect parameter sequence in package gi18n;improve package gcfg for detailed error printing 2021-03-16 14:39:01 +08:00
John Guo
093034acd1 copyright comment update 2021-01-17 21:46:25 +08:00
jflyfox
b3b1418e11 improve packge gi18n 2021-01-04 14:43:17 +08:00
jflyfox
102e2d07d9 improve package gcfg for automatic configuration file type checks; change const variables for package gcfg/glog/gtimer/gmode/gins/gi18n 2020-12-14 13:02:08 +08:00
John
d3bf52f12f fix issue in unit testing case for package gi18n 2020-10-26 19:00:11 +08:00
John
6b13a4849b improve package gi18n 2020-10-25 17:33:14 +08:00
Jack
14d5fd3e11 add translation format feature for package gi18n 2020-08-08 16:46:52 +08:00
john
9b8d63e21b improve graceful reload feature for ghttp.Server 2020-07-25 14:09:03 +08:00
John
30501a882d improve function Struct for package gconv 2020-06-06 15:31:04 +08:00
John
3c35bb85ee improve unit testing cases for package gi18n/ghttp 2020-05-13 19:35:56 +08:00
John
aa5d3285eb improve package gvalid 2020-05-10 16:48:00 +08:00
john
993d6e3076 improve package gvalid 2020-05-10 10:56:11 +08:00
John
17aea8d7d4 improve unit testing cases by changing creating testdata path using gdebug.TestdataPath function 2020-03-21 23:47:33 +08:00
John
07e65c14a9 improve unit testing cases 2020-03-19 23:53:03 +08:00
John
0b6d04485e improve unit testing cases 2020-03-19 22:56:12 +08:00
John
e58d7e8dda add internal log for gi18n; improve unit testing case for ghttp.Server 2020-02-28 23:00:05 +08:00
John
7df53ff55e rename all timestamp function names from *Second to Timestamp* 2020-01-20 14:14:11 +08:00
John
500efb5601 fix issue in template for ghttp.Server 2019-10-17 20:31:03 +08:00
John
2b20c77bc0 improve example for gi18n 2019-09-15 13:47:44 +08:00
John
7f943c6b5f improving gview with i18n 2019-09-09 22:56:54 +08:00
John
13e528abb6 remove deprecated functions and fix corresponding unit test cases 2019-09-06 16:59:38 +08:00
John
8fd88307f7 add errors printing when i18n files loading failed for gi18n 2019-09-06 15:43:57 +08:00
John
e4d34abd7e fix unit test cases for ghttp/gres 2019-09-04 19:23:19 +08:00
john
55addaa8ea improve gres and add more unit test cases for gres 2019-09-01 22:14:31 +08:00
John
15a6680833 add package gi18n 2019-09-01 00:30:01 +08:00