Commit Graph

69 Commits

Author SHA1 Message Date
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
mingzaily
8a853b1bb7
add file export (#1959) 2022-07-04 20:17:00 +08:00
John Guo
6d0b4faeb0 gitignore updates 2022-05-12 16:01:55 +08:00
John Guo
bef942b19f ci test 2022-05-12 14:57:26 +08:00
John Guo
df3ae386cb ci test 2022-05-12 14:35:39 +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
88a9eef8a6 api swagger ui update 2022-03-01 11:43:42 +08:00
John Guo
5f2047d61b fix issue in configuration StdoutColorDisabled for package glog; rename TempDir to Temp for package gfile 2022-02-14 14:50:25 +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
48c5c1e5a8 change errors wrapped by gerror.Wrap with error stack info for all packages 2021-12-23 00:09:00 +08:00
John Guo
36e05561cc improve Export feature for package gres 2021-12-14 23:49:08 +08:00
John Guo
bc2ce19876 add Export feature for package gres 2021-12-14 23:01:20 +08:00
John Guo
07ac8aca41 fix unit testing cases for package gres/gview 2021-11-18 20:07:24 +08:00
John Guo
57ccc13e0c unit testing files renaming 2021-11-17 23:20:58 +08:00
houseme
ff8633231f improve code 'if block ends with a return statement, so drop this else and outdent its block (golint)' 2021-11-16 00:26:10 +08:00
houseme
4fa2a879d7 [feature] improve code gview 2021-11-15 20:49:02 +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
322f5933ad add build-in swagger ui support for ghttp.Server 2021-10-03 00:22:06 +08:00
John Guo
727f58a24b remove usage of gconv.Unsafe* functions internally to avoid unexpected errors 2021-09-14 19:30:20 +08:00
John Guo
5a4de52900 fix invalid separator char in packing with prefix folder string in OS widnows for package gres 2021-08-02 19:58:04 +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
fac9ab5c01 improve package gvalid 2021-05-19 19:00:34 +08:00
John Guo
093034acd1 copyright comment update 2021-01-17 21:46:25 +08:00
John Guo
2c5e6b379f improve package gres 2021-01-16 20:20:30 +08:00
John Guo
788ade2db0 improve package gres 2021-01-07 19:34:46 +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
5999f22f76 fix issue in embeded struct validation for package gvalid 2020-11-04 20:04:54 +08:00
John
b2aa59d893 import third-party library json-iterator to improve the performance for json operations 2020-06-17 21:16:25 +08:00
John
f290bd7170 fix issue in http.File implements for package gres 2020-05-14 21:25:54 +08:00
John
2fd5a1574a improve package gres 2020-05-14 20:32:01 +08:00
john
b4c0b95d8a add support for old version of gres 2020-05-03 22:16:12 +08:00
john
b7e8255066 add support for old version of gre 2020-05-03 22:08:08 +08:00
John
c8d253eb56 change binary content from hex string to base64 string for package gres 2020-05-01 02:35:24 +08:00
John
4814624cff change binary content from hex string to base64 string for package gres 2020-05-01 02:16:42 +08:00
John
f7c2a51c9f fix issue in zip feature for package gcompress; improve package gres 2020-05-01 00:18:45 +08:00
John
8ecd62d3de add example for package gres 2020-03-28 21:32:29 +08:00
John
ddcb7121c1 improve temporary path producing from gfile.Join to gfile.TempDir 2020-03-28 00:41:12 +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
e57942b374 improve unit testing cases 2020-03-20 08:56:17 +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
42fd583bfd add more inernal logging points for core components 2020-02-24 21:09:19 +08:00
John
4d2b244319 fix issue in gres.UnpackContent; fix issue in gtime.NewFromTimeStamp 2020-02-04 17:09:18 +08:00
John
b7d194cf52 improva gcmd.Parser/gres 2020-01-15 09:36:58 +08:00
John
edf2366296 improve gzip feature for gcompress; add gzip compression for package gres 2020-01-15 00:15:56 +08:00
John
2ed1854f0c improve gres with file separator replaced to / 2019-09-10 14:21:11 +08:00
John
13e528abb6 remove deprecated functions and fix corresponding unit test cases 2019-09-06 16:59:38 +08:00