Commit Graph

107 Commits

Author SHA1 Message Date
guangwu
e816ab05de
refactor: code optimization (#2667) 2023-05-25 21:58:11 +08:00
cui fliter
a9090e4a72
fix some comments (#2600)
Signed-off-by: cui fliter <imcusg@gmail.com>
2023-04-26 19:34:22 +08:00
HaiLaz
adf90c876f
improve unit testing cases (#2468) 2023-02-23 10:07:40 +08:00
Jinhongyu
14d2d747f6
add minus of start parameter support for gstr.Substr, like the substr function in PHP (#2297)
* Make the substr like the substr in PHP

Make the substr like the substr in PHP

* Update gstr_z_unit_test.go

* Update gstr_z_unit_test.go

* Make the SubStrRune like the mb_substr in PHP

Make the SubStrRune like the mb_substr in PHP

* Update gstr_z_unit_test.go

* Update gstr_z_unit_test.go

* Update gins_z_unit_view_test.go

* Update gview_z_unit_test.go
2022-11-16 10:10:59 +08:00
houseme
1793bf0863
add golangci feature to guarantee codes quality (#2229) 2022-11-01 20:12:21 +08:00
John Guo
3988a7ff6b
add more UT cases for package gview (#2072)
* CI updates

* add more UT cases for package gview
2022-08-18 21:06:20 +08:00
John Guo
1e3d8cdadd fix issue #1721 2022-04-13 21:58:35 +08:00
John Guo
bf674060c0 add internal package consts to manage shared constants; improve buildin function dump only available in develop mode for package gview 2022-04-13 21:08:12 +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
eca3583845 fix issue #1416; add ParseOption for package gview 2022-03-10 11:35:23 +08:00
John Guo
f5693c4393 improve package gview 2022-03-10 09:48:19 +08:00
John Guo
22941276a5 fix issue #1611 2022-02-22 21:59:18 +08:00
John Guo
23c00eb83f fix issue #1394 2022-02-14 16:08:26 +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
04eb654133 add error stack for internal error printing 2022-01-28 14:51:49 +08:00
John Guo
56f88f759a add buildin function yamli for package gview 2022-01-17 17:10:44 +08:00
John Guo
c72a9f2e1e add buildin functions xml/ini/yaml/toml for package gview 2022-01-17 15:55:45 +08:00
John Guo
6468d55a81 add absolute file path support for package gcfg/gview 2022-01-14 17:16:38 +08:00
John Guo
fe93d7b332 add GetRegisteredRuleMap function, add internal logging for rule overwrite situation of package gvalid 2022-01-14 16:46:25 +08:00
John Guo
fd5b0fdf49 comment update 2021-12-30 00:20:38 +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
John Guo
b9907ae3ba improve package gview for default folder searching 2021-12-17 21:38:10 +08:00
John Guo
656d1bbbd6 improve content type response for ghttp.Server 2021-12-17 17:42:18 +08:00
John Guo
d138c5bff2 improve unit testing case for package gview 2021-11-18 22:33:36 +08:00
John Guo
66d56396ca improve unit testing case for package gview 2021-11-18 22:16:54 +08:00
John Guo
07ac8aca41 fix unit testing cases for package gres/gview 2021-11-18 20:07:24 +08:00
John Guo
712416f490 improve gutil.Dump 2021-11-18 15:20:37 +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
John Guo
8dd9483572 fix issue in unit testing case for package gview 2021-10-22 14:09:08 +08:00
John Guo
4e7b33bde3 fix issue in unit testing case for package gview 2021-10-22 13:14:48 +08:00
John Guo
977780736f improve gutil.Dump 2021-10-21 22:07:43 +08:00
John Guo
1bc0635f8b version 2 2021-10-11 21:41:56 +08:00
John Guo
df09d8c604 refract package ghttp/gredis/glog 2021-09-27 21:27:24 +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
59397fd8a5 add buildin function add/minus/times/divide for package gview 2021-08-25 20:00:53 +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
c25f88293b unify command or enviroment key names for packages 2021-06-26 12:08:18 +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
jianchenma
813841bb68 rename GetWithEnv to GetOptWithEnv for packge gcmd 2021-02-02 15:16:09 +08:00
John Guo
093034acd1 copyright comment update 2021-01-17 21:46:25 +08:00
John Guo
a9aa021914 add json tag for configuration struct for package gdb/gredis/ghttp/glog/gview 2021-01-12 00:42:33 +08:00
John Guo
8a91592839 fix issue in eq for package gview 2021-01-04 00:05:02 +08:00
jflyfox
0d5b93bd07 fix issue in incorrect parsing error message for gview 2020-12-29 19:43:25 +08:00
John Guo
63bc06d0fe improve package gview 2020-12-15 00:09:55 +08:00