Commit Graph

97 Commits

Author SHA1 Message Date
John Guo
ab2c3b02ac
fix(cmd/gf): table and field names converted to its lower case before CamelCase converting in command gen dao (#3801) 2024-09-25 10:59:00 +08:00
John Guo
6abd8bd864
comments update for package gstr (#3233) 2024-01-02 20:16:51 +08:00
海亮
e2e12fadb0
add function CaseConvert for package gstr (#3098) 2023-11-01 19:52:07 +08:00
John Guo
d6362cad16
add List2/List3/ListAndTrim2/ListAndTrim3 functions for package gstr (#2986) 2023-10-09 19:58:14 +08:00
John Guo
b9e2b05f04
change interface ConvertDataForRecord to ConvertValueForField for package gdb (#2916) 2023-09-04 21:23:54 +08:00
John Guo
887803e495
add structure logging handler for package glog (#2919) 2023-09-04 21:23:46 +08:00
HaiLaz
55690f3738
improve unit testing cases coverage to 80%+ (#2480) 2023-03-07 21:27:23 +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
John Guo
7d1a508ea9
improve ut case for package gcache/gpool (#2290)
* improve ut case for package gcache/gpool

* up
2022-11-12 10:49:48 +08:00
wei.wei
2e8d8f63ff
fix IsSubDomain method error (#2283)
Co-authored-by: weiwei3 <weiwei3@37.com>
2022-11-10 19:47:43 +08:00
houseme
1793bf0863
add golangci feature to guarantee codes quality (#2229) 2022-11-01 20:12:21 +08:00
John Guo
e00d3ff7ff
fix issue in gstr.Nl2Br (#2028) 2022-07-25 20:54:42 +08:00
John Guo
d7faae0531
add gstr.IsGNUVersion (#1937) 2022-06-24 16:54:24 +08:00
houseme
ab82599ee2
Feature/polaris feat: Add Polaris support (#1797) 2022-05-18 22:24:40 +08:00
John Guo
2680666f52 improve gstr.WordWrap 2022-05-13 14:18:51 +08:00
John Guo
c256d2d4af fix issue in gstr.RepliaceI; add command gen service for cli 2022-04-24 22:23:56 +08:00
John Guo
546b6b1724 t.Assert(err, nil) -> t.AssertNil(err) 2022-03-10 11:36:40 +08:00
John Guo
220ed74ad1 fix gstr.IsNumeric 2022-01-17 19:42:21 +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
huangqian
a9647a7bf3 tidy gstr file 2021-12-21 23:24:38 +08:00
John Guo
de17302ad0 fix issue in gstr.ReplaceI 2021-12-19 21:04:35 +08:00
huangqian
ff2e9b568b Implemented gstr Example
1. PrefixArray 2.SubStrFrom 3.SubStrFromEx 4.SubStrFromR 5.SubStrFromREx
2021-12-15 21:15:34 +08:00
huangqian
e28be8d114 reorder the sample function 2021-12-14 23:54:15 +08:00
John Guo
01930c9899 improve package gcmd 2021-12-08 19:50:28 +08:00
xuweiwei
f56c2ed356 fix a comment error in IsSubDomain
Signed-off-by: xuweiwei <xuweiwei_yewu@cmss.chinamobile.com>
2021-12-03 17:19:42 +08:00
John Guo
0c62c62a7a improve example for package gstr 2021-11-18 22:13:12 +08:00
iamyl
7d7ceec1d6
Merge branch 'gogf:master' into master 2021-11-18 08:54:13 +08:00
iamyl
290200a490
修改示例表现形式 2021-11-18 06:26:27 +08:00
John Guo
67a479a2cd remove .example 2021-11-16 21:37:59 +08:00
houseme
be03b3cdda Improved import, by group improt. 2021-11-13 23:23:55 +08:00
iamyl
741a790660
修改了示例的表现格式 2021-11-12 01:37:27 +08:00
iamyl
4b0a8f81d5
修改了ExampleEqual 示例的对比值 2021-11-10 01:47:03 +08:00
iamyl
f889df8d50
go fmt 格式化 2021-11-10 01:27:59 +08:00
iamyl
836be74d13
修改示例中结果为map输出的地方增加May 2021-11-10 01:12:22 +08:00
iamyl
7f24f0637b
修改了部分示例 2021-11-10 01:03:04 +08:00
John Guo
42c4b32720 add gconv.ScanList 2021-11-07 00:16:14 +08:00
iamyl
0aabb7d990
update package gstr 2021-11-06 04:41:08 +08:00
iamyl
84046a060a
Package gstr's All Example 2021-11-05 10:50:15 +08:00
iamyl
a27eec7752
Delete gstr_z_example_test.go 2021-11-05 10:48:13 +08:00
iamyl
4539a9a4ab
修改gstr测试用例包名为gstr_test 2021-11-05 10:42:44 +08:00
iamyl
cffa098373
更新gstr为gf-v2版本 2021-11-05 10:35:01 +08:00
iamyl
c663a0d9c5
修改gstr测试用例
修改gstr测试用例的错误
2021-11-05 10:20:36 +08:00
iamyl
041ebacb8c
添加gstr包的实例 2021-11-05 01:20:18 +08:00
John Guo
6192d32501 add LeftJoinOnField/InnerJoinOnField/InnerJoinOnField/FieldsPrefix/FieldsExPrefix for package gdb 2021-10-29 15:12: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
dcafba8a2d add package goai for OpenAPIv3 support 2021-10-02 14:52:28 +08:00
John Guo
750972e7c6 fix unit testing cases 2021-09-28 19:04:36 +08:00
John Guo
993bf897cf remove deprecated functions; refract package gjson 2021-09-27 22:47:39 +08:00