黄骞
fbeb8f81ac
add ut cases for package glog part2 ( #2317 )
2022-11-21 10:32:08 +08:00
黄骞
83b92ddfa4
add ut cases for package glog ( #2302 )
...
* add ut cases for package glog
* add ut cases for package glog
* add ut cases for package glog
* add ut cases for package glog
* add ut cases for package glog
* add ut cases for package glog
2022-11-17 19:44:48 +08:00
黄骞
7cd415b1df
add ut cases for package gtime ( #2303 )
...
* add ut cases for package gtime
* add ut cases for package gtime
* add ut cases for package gtime
2022-11-17 19:44:20 +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
73dc8c9c4b
fix cache issue in Count/Value functions for gdb.Model ( #2300 )
...
* add Tag* functions to retreive most commonly used tag value from struct field for package gstructs; use description tag as default value if brief is empty for gcmd.Argument
* fix cache issue in Count/Value functions for gdb.Model
* add more ut case for package gdb
* version updates
2022-11-16 10:04:49 +08:00
John Guo
576f1a798c
add Tag* functions to retreive most commonly used tag value from struct field for package gstructs; use description tag as default value if brief is empty for gcmd.Argument ( #2299 )
2022-11-15 17:05:34 +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
Charles
b84034b667
fix: gcache MustGetOrSetFunc error ( #2291 )
2022-11-10 20:34:48 +08:00
HaiLaz
bc8ca912ce
fix: gcron check if the predefined patterns fail ( #2288 )
2022-11-10 19:59:09 +08:00
John Guo
8c71d579b5
add command fix and up ( #2280 )
2022-11-10 19:56:12 +08:00
John Guo
b000aa3dfe
add supervisor for package grpool ( #2252 )
...
* add supervisor for package grpool
* up
2022-11-08 19:00:16 +08:00
王哈哈
4f4109cdb6
fix typo for comments ( #2268 )
...
* Modify comment syntax error
* Modify comment syntax error
2022-11-07 17:55:49 +08:00
John Guo
ee58255418
move common used tag from packages to package gtag for maintainability ( #2256 )
...
* move common used tag from packages to package gtag for maintainability
* move common used tag from packages to package gtag for maintainability
Co-authored-by: houseme <housemecn@gmail.com>
2022-11-07 17:51:37 +08:00
John Guo
a1b9eca7b6
fix issue #2244 ( #2257 )
...
* fix issue #2244
* ut update for package gtime
* golangci updates
2022-11-03 21:17:28 +08:00
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
ivothgle
33fdde6afd
opt: parameter verification of optimized handler methods ( #2224 )
2022-10-20 19:36:01 +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
66aa0c7050
add switch of brief stack for package gerror
( #2153 )
2022-09-27 10:11:33 +08:00
John Guo
141ca62c6d
feature/v2.2.0 ( #2154 )
2022-09-26 22:11:13 +08:00
John Guo
9dc97f4b0d
fix issue in init context for package gctx ( #2138 )
...
* fix issue in init context for package gctx
* improve package gtest
2022-09-23 20:50:48 +08:00
John Guo
714bda3e0f
remove noisy internal logging content of package gcron ( #2141 )
2022-09-23 20:50:25 +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
OmegaMT
897d6d9ad0
fix gctx init slice bounds out of range on ios platform ( #2062 )
2022-08-15 20:40:17 +08:00
John Guo
f580b7a488
improve header printing in json format for package glog; add golang v1.18 support for ci workflow ( #2037 )
2022-07-29 19:06:22 +08:00
John Guo
b7794a8783
use method name as its command name if no name defined in Meta of input struct for package gcmd ( #2019 )
2022-07-19 16:30:00 +08:00
John Guo
5d51e9fa2c
improve package gerror, add HasCode/HasError function for package gerror ( #2006 )
2022-07-15 10:49:04 +08:00
John Guo
98b2e8ab18
improve panic...recover of exit feature for package ghttp/gtimer/gfsnotify ( #2000 )
2022-07-13 20:20:38 +08:00
John Guo
f1766bdbdc
add init ctx feature ( #1995 )
2022-07-12 19:27:42 +08:00
John Guo
dd7caea910
fix UT issue for package gcron ( #1992 )
2022-07-12 09:55:46 +08:00
John Guo
f876a56d2a
some improves for ci yaml and package cmd/gf, database/gdb ( #1972 )
2022-07-07 21:16:26 +08:00
John Guo
047c90466d
improve UT for package gcron ( #1966 )
2022-07-04 21:18:20 +08:00
mingzaily
8a853b1bb7
add file export ( #1959 )
2022-07-04 20:17:00 +08:00
John Guo
2bcd6c4771
add full week/month name support for pattern, add seconds fix feature in some delay seconds for package gcron ( #1960 )
2022-07-01 09:53:01 +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
2c169e2330
improve package glog; fix issue in package gtrace ( #1952 )
2022-06-28 15:47:16 +08:00
wenzi
141f3512a9
fix glog bug ( #1844 )
2022-06-23 21:05:12 +08:00
John Guo
2bcee014f7
add tracing feature for package gproc ( #1923 )
2022-06-21 21:46:12 +08:00
John Guo
f0568b4e22
Merge branch 'develop'
2022-06-21 19:08:36 +08:00
John Guo
33a528af76
fix issue #1913
2022-06-20 22:03:19 +08:00
Lonely
52056644d4
add context parameter ( #1919 )
2022-06-20 20:34:59 +08:00
John Guo
1e8237446e
add tracing logging content if trace id is available in context for package gcmd
2022-06-17 17:42:49 +08:00
John Guo
b2b2044786
add tracing logging content if trace id is available in context for package gcmd
2022-06-17 17:41:10 +08:00
John Guo
64c5222623
add environment support of opentelemetry propagation for package gctx
2022-06-17 16:47:01 +08:00
John Guo
c2e742335b
add otel support for package gcmd
2022-06-17 15:16:35 +08:00
John Guo
cdd4473df5
improve command gen service; add error trace for error of some packages
2022-06-16 17:07:25 +08:00
John Guo
0d7e28ee75
add deep copy feature
2022-05-23 16:51:10 +08:00
happyinsect
57941b6df9
Bug fix#1849 ( #1851 )
2022-05-18 20:19:40 +08:00
John Guo
c871bb3a1e
improve package gcfg
2022-05-18 15:11:49 +08:00
John Guo
a2905977ec
improve package gcmd, adding CaseSensitive option for options parsing, default is CaseInsensitive
2022-05-13 15:24:10 +08:00
John Guo
b63e01adf6
add internal log content for package gcmd
2022-05-13 14:48:22 +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
f6f0c8fd1e
ci test
2022-05-11 20:42:34 +08:00
John Guo
cbff244d88
improve package gcron
2022-05-09 21:45:57 +08:00
John Guo
2e405342ca
improve package gcron
2022-05-09 21:42:50 +08:00
John Guo
9ad9292321
improve handler feature for package glog
2022-04-29 14:13:54 +08:00
John Guo
48fddcd5e7
improve session Manager and default Storage implements for package gsession; fix issue #1781
2022-04-27 15:05:34 +08:00
John Guo
ed0b3c039a
improve package gsession; improve command docker for cli
2022-04-26 22:42:56 +08:00
John Guo
eef25c28b4
improve command docker/gen service
2022-04-26 17:49:01 +08:00
John Guo
a32847f0c5
add default handler feature for package glog
2022-04-25 18:05:52 +08:00
John Guo
be77779aff
Merge branch 'master' of https://github.com/gogf/gf into develop
2022-04-18 20:29:35 +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
2d6fcf5d06
fix issue #1708
2022-04-12 12:09:09 +08:00
John Guo
55e0262c37
improve package gconv
2022-04-11 21:54:23 +08:00
yuancjun
4ca168412b
avoid a single space at the end of a line.
2022-04-06 11:57:22 +08:00
John Guo
b4184e4523
Merge branch 'master' of https://github.com/gogf/gf
2022-03-31 16:16:57 +08:00
John Guo
21f48d3750
improve Unique function performance for normal arrays
2022-03-30 14:32:16 +08:00
John Guo
707dc6b346
add xextensions feature for package goai
2022-03-29 20:31:00 +08:00
cuishuang
2d586859c3
fix some typos
...
Signed-off-by: cuishuang <imcusg@gmail.com>
2022-03-23 21:45:00 +08:00
John Guo
439350836e
fix example case for package gsession
2022-03-21 22:44:21 +08:00
John Guo
f670c24e2c
fix issue #1681
2022-03-21 22:24:59 +08:00
John Guo
f865d6fa6a
remove UT case of http server in package gins
2022-03-18 10:13:00 +08:00
John Guo
5f3a525d11
add Set function for AdapterFile for package gcfg
2022-03-17 21:41:10 +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
60340a7348
fix UT case for package glog
2022-03-15 10:15:46 +08:00
John Guo
dccfc1c8cd
add hook feature for model of package gdb
2022-03-14 23:47:55 +08:00
John Guo
d8d9996464
fix issue #1662
2022-03-11 10:24:42 +08:00
John Guo
afa1f78a02
fix issue #1661
2022-03-10 21:12:24 +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
6301403777
Merge pull request #1632 from huangqian1985/master
...
Improving gfile and gSesssion Code Coverage
2022-03-09 20:45:44 +08:00
yxh
2510e0412d
[fix bug] Fix redis cache adapter GetOrSetFunc, GetOrSetFuncLock method bug and add unit test
2022-03-09 17:21:02 +08:00
huangqian
f08c18594b
Merge branch 'master' of https://github.com/gogf/gf
2022-03-07 22:35:39 +08:00
John Guo
531cc7b864
fix issue in package gproc
2022-03-07 09:57:51 +08:00
John Guo
3fcd6ef877
fix issue orphan value parsing for sructured arguments of command for package gcmd
2022-03-03 21:03:42 +08:00
huangqian
b5855037f3
Improving gSession Code Coverage
2022-03-02 21:50:23 +08:00
huangqian
4d5b41434a
Merge branch 'master' of https://github.com/gogf/gf
2022-03-01 22:38:51 +08:00
John Guo
1724a26957
improve package gcfg
2022-03-01 22:34:57 +08:00
huangqian
cb69fbcbd6
Improving gSession Code Coverage
2022-03-01 22:12:59 +08:00
John Guo
12fdfbf8b2
improve package gcfg
2022-03-01 21:14:45 +08:00
huangqian
992a986d12
Merge branch 'master' of https://github.com/gogf/gf
2022-03-01 20:02:21 +08:00
John Guo
88a9eef8a6
api swagger ui update
2022-03-01 11:43:42 +08:00
huangqian
eb533f3344
Improving gfile Code Coverage
2022-02-28 22:57:53 +08:00
huangqian
0516159ae3
Improving gcmd Code Coverage
2022-02-28 21:11:53 +08:00
huangqian
8acffd1186
Improving gcmd Code Coverage
2022-02-27 21:00:23 +08:00
huangqian
814450fd17
gcmd example
2022-02-27 13:22:26 +08:00