Commit Graph

1304 Commits

Author SHA1 Message Date
John
b15d8bdd2e adding gtree.RedBlackTree 2019-05-09 22:53:42 +08:00
John
718997327a add default value for gcfg.Get* functions; rename gconv.TimeDuration to gconv.Duration, and do corresponding changes to caller packages 2019-05-09 17:14:24 +08:00
John
fdfefbb94d add default value feature for gjson/gparser; update default value type for ghttp.Request 2019-05-09 14:19:27 +08:00
John
2b865a55ac update gjson/gparser 2019-05-08 22:04:36 +08:00
John
8138215597 comments update 2019-05-08 21:03:04 +08:00
John
7cc0c7a1cc rename map type of gmap; rename BatchSet/BatchRemove to Sets/Removes for gmap/gcache 2019-05-08 17:21:18 +08:00
John
4c647aaa19 refacting gmap 2019-05-07 22:28:34 +08:00
John
48b1d616c5 update code format for gtime 2019-05-07 10:22:50 +08:00
John Guo
693c37d6d6
Merge pull request #116 from jroam/master
add some var flags gtime.format
2019-05-07 10:18:22 +08:00
jroam
d525c04826 公开几个常用功能方法 2019-05-06 15:03:14 +08:00
John
c170edbdfc add ghttp.Request.GetUrl to get current request URL 2019-05-06 13:52:34 +08:00
John
66e40155a9 add http/https scheme for log of ghttp.Server; add transport setting to ignore tls cert for ghttp.Client; version updates 2019-05-06 09:35:39 +08:00
John
59ad1a9b00 fix issue in incorrect every running logics of gcron.AddOnce 2019-05-05 22:57:13 +08:00
jroam
a5b536e218 去掉不常用参数e 2019-05-05 22:49:52 +08:00
John
0e6c2e790d copy mysql driver to third folder 2019-05-04 23:02:07 +08:00
jroam
5761e73061 优化一些参数性能 2019-05-04 18:14:05 +08:00
John
34c761e9db rename mysql driver from 'mysql' to 'gf-mysql' to avoid multiple imports error 2019-05-04 00:25:02 +08:00
John
87e3813636 remove go-sql-driver-mysql from third, add Register function to manually register 'mysql' driver 2019-05-04 00:10:02 +08:00
John
99dc69e839 update gtcp exxamples 2019-05-03 13:28:27 +08:00
yybjroam@qq.com
d78fde8099 edit a func's name 2019-04-30 22:31:52 +08:00
jroam
5d0c8956d6 edit some errs and fmt some codes 2019-04-30 11:45:26 +08:00
John
c9537af062 add package feature for gudp; gtcp updates 2019-04-29 23:54:47 +08:00
jroam
dfb5b3a8ce
Merge pull request #15 from gogf/master
日常更新
2019-04-29 14:30:24 +08:00
jroam
a177e44583 edit some infos 2019-04-29 14:29:33 +08:00
John
7ae03729f3 add package support for gtcp 2019-04-28 23:55:23 +08:00
jroam
6d7d8dec02 add var 'e' of gtime.format 2019-04-28 22:53:03 +08:00
jroam
a5b8e2aa2f add var 'w' of gtime.format 2019-04-28 18:12:43 +08:00
jroam
123333d9c2 edit some info 2019-04-27 22:59:06 +08:00
jroam
0c4fa1d96a fmt files 2019-04-27 22:50:44 +08:00
jroam
e5805e8c69 Merge branch 'master' of https://github.com/jroam/gf 2019-04-27 22:44:59 +08:00
jroam
bf2d45a012 add gtime.format var 't' 2019-04-27 22:37:36 +08:00
jroam
a7122788b1 add 'W' to gtime.format func(doing) 2019-04-26 17:52:45 +08:00
John Guo
c109cee7ef
Merge pull request #115 from touzijiao/master
Merge pull request #115 from touzijiao/master
2019-04-26 13:44:51 +08:00
Ziwen Chen
e111d39c54 测试文件 2019-04-26 10:38:27 +08:00
John
66306464e1 add Pop/Pops functions for gset 2019-04-26 08:57:48 +08:00
John
dd34ac1722 add build-in function 'eq/ne/lt/le/gt/ge' for gview to replace the same functions in stdlib 2019-04-25 23:23:24 +08:00
John
34cb222b33 remove temprary function map parameter for gview when parsing template file and content 2019-04-25 22:14:20 +08:00
jroam
a0276f7e81 add param 'z' to gtime.format func 2019-04-24 23:12:48 +08:00
John
d39ef156de garray updates 2019-04-24 22:23:32 +08:00
John
f464dc7fb8 add NewFrom/NewIntSetFrom/NewStringSetFrom functions for gset; add more example for gset 2019-04-24 18:52:24 +08:00
John
d29b27a5df add Merge/Sum functions for gset 2019-04-24 18:15:50 +08:00
jroam
5346ca9046 use golint checked 2019-04-24 18:08:10 +08:00
jroam
6d5b552bb7 add param of 'N','s' to gtime.format 2019-04-24 18:03:29 +08:00
Shier
e8c3dfa13e fix: #112
closes #112
2019-04-24 11:31:13 +08:00
John
9eea93cc6e change param type from string to interface{} for ghttp.ClientRequest 2019-04-23 20:12:44 +08:00
John
308cb55b6b version updates 2019-04-23 19:44:28 +08:00
John
75ada78f8f remove parameter bind from ghttp.RouterGroup.Bind 2019-04-23 19:39:35 +08:00
John Guo
c1aa5eb717
Merge pull request #98 from qq976739120/gmap-test
新增测试方法
2019-04-23 18:56:58 +08:00
John Guo
d2fed1198b
Merge pull request #110 from jroam/master
增加gtime包下,format方法能直接格式化星期的数字型的值
2019-04-23 18:54:43 +08:00
John
a9f9261dbd add gregex.ReplaceFuncMatch/ReplaceStringFuncMatch functions for package gregex 2019-04-23 14:15:12 +08:00
jroam
161e0d6e97 edit var name to "weekMap" 2019-04-23 09:59:13 +08:00
jroam
3efe511f42 优化星期英文值和数字值的格式化功能 2019-04-22 23:13:35 +08:00
John
5d04c2e50a fix issue in gfile.MainPkgPath 2019-04-22 22:33:11 +08:00
John
7b26b7ea4c fix issue in gstr.Chr 2019-04-22 21:37:11 +08:00
John
9d1063c6b2 Merge branch 'master' of https://github.com/gogf/gf 2019-04-22 15:48:16 +08:00
John
5ff7632d32 add support of layout feature for gview; fix issue in gstr.Chr 2019-04-22 15:47:59 +08:00
jroam
e6fb41504c 简写"w"参数的注释,增加周六值测试 2019-04-22 14:10:46 +08:00
jroam
a800f731dd 优化格式化星期值性能 2019-04-22 13:55:53 +08:00
jroam
f1a9fbb74e Merge branch 'master' of https://github.com/jroam/gf 2019-04-22 10:51:40 +08:00
jroam
cf81a73526 增加gtime包下,format能直接格式化星期的数字型的值 2019-04-22 10:51:24 +08:00
jroam
65036fffe8
Merge pull request #13 from gogf/master
日常更新
2019-04-22 10:49:28 +08:00
jroam
a69934a7e3 添加星期值的int形式 2019-04-21 19:36:06 +08:00
wenzi1
5060329721 Merge branch 'master' of https://github.com/wenzi1/gf 2019-04-19 17:11:10 +08:00
wenzi1
07ab1d60e8 add encoding package unit test 2019-04-19 17:04:43 +08:00
wenzi
1a6cd1de04
Merge pull request #7 from gogf/master
update latest code
2019-04-18 20:22:17 +08:00
wenzi1
0fc825dac1 add gcompress packge unit test 2019-04-18 12:34:01 +08:00
John
dbb27efe3e rename io to writer for glog.Logger 2019-04-18 09:11:14 +08:00
John
2d3d2e783e add default writer for glog to be integrated with other package; comments update for glog 2019-04-17 23:50:37 +08:00
wenzi
6ae1defa35
Merge pull request #6 from gogf/master
pull
2019-04-17 16:56:18 +08:00
John Guo
7fb9ae71e7
Merge pull request #103 from jroam/master
增加gfile模块的测试代码
2019-04-17 09:47:51 +08:00
John
9419555149 add BindFuncMap funtion for gview; README updates 2019-04-17 09:46:31 +08:00
jroam
ab634f8beb del some test code 2019-04-16 23:15:22 +08:00
jroam
9503b80d57 edit tempdir 2019-04-16 23:07:53 +08:00
jroam
bc870226e5
Merge pull request #11 from gogf/master
日常更新
2019-04-16 22:52:03 +08:00
jroam
958e00e231 fmt test code file 2019-04-16 22:14:42 +08:00
jroam
9f5711d41d edit testpackage's name 2019-04-16 22:11:44 +08:00
pibigstar
d12532ccc1 set a definite value for an assertion #66 2019-04-16 15:49:42 +08:00
pibigstar
53e9f05a10 make the details perfect #66 2019-04-16 15:49:42 +08:00
pibigstar
60e7ab95bc increase coverage for crypto #66 2019-04-16 15:49:42 +08:00
pibigstar
ae552e2b46 increase coverage for crypto #66 2019-04-16 15:49:42 +08:00
pibigstar
145b52f343 increase coverage for crypto #66 2019-04-16 15:49:42 +08:00
pibigstar
57b8fac0d5 add the crypto test 2019-04-16 15:49:42 +08:00
Jay
16a4a5ba46 Gmap测试修改 2019-04-16 14:28:25 +08:00
yybjroam@qq.com
37b7c82c64 Merge branch 'master' into test_gfile 2019-04-15 23:30:21 +08:00
yybjroam@qq.com
84ed3d5767 add move and rename testfun 2019-04-15 23:14:48 +08:00
John
2f7d4cd80d fix issue in Add function for gtype.Float32/Float64 2019-04-15 22:55:12 +08:00
yybjroam@qq.com
03ccbf3613 edit TestStat fun 2019-04-15 22:52:19 +08:00
yybjroam@qq.com
1868465319 edit TestTruncate fun 2019-04-15 22:47:09 +08:00
jroam
2015c847e8 fmt test file 2019-04-15 18:14:38 +08:00
jroam
11191c746a edit test 2019-04-15 15:34:35 +08:00
jroam
abedd3c5bf edit test 2019-04-15 15:30:44 +08:00
jroam
501ba5135b edit test 2019-04-15 15:27:49 +08:00
jroam
a76c98c348 暂时去掉search测试 2019-04-15 14:01:09 +08:00
jroam
ff9bbf0a49 edit test 2019-04-15 11:41:05 +08:00
jroam
66e24c8d40 Merge branch 'master' into test_gfile 2019-04-15 11:26:11 +08:00
jroam
21f2f16889 go test 2019-04-14 23:21:03 +08:00
jroam
f6fa7c422d 测试小调整 2019-04-14 22:41:11 +08:00
jroam
6903b84bb6 调整测试文件生成目录 2019-04-13 23:00:57 +08:00
jroam
0978b8fb4f 初步完成测试代码重构 2019-04-13 18:27:01 +08:00
yybjroam@qq.com
d014583e88 重构测试代码中 2019-04-13 13:14:30 +08:00
jroam
a747f51b9d 重构测试代码 2019-04-12 18:15:31 +08:00
wenzi
8300885ab6
Merge pull request #5 from gogf/master
update gtest
2019-04-12 17:59:02 +08:00
Jay
b489eed4ef 新增测试方法 2019-04-12 10:59:05 +08:00
jroam
0b57771d76 用fmt格式化代码 2019-04-12 09:47:55 +08:00
John
8a32a8271c fix issue in empty router group error of ghttp.Server 2019-04-12 00:19:15 +08:00
John Guo
e464d14842
Merge pull request #85 from qq976739120/gmap-test
Gmap 测试添加
2019-04-11 21:59:00 +08:00
Jay
905f46359a Gmap string-string 类型测试提交 2019-04-11 17:50:26 +08:00
Jay
8e7bf1f908 bug 修复 2019-04-11 17:46:19 +08:00
Jay
3a1524ae6d Gmap 初测完成 2019-04-11 17:33:52 +08:00
jroam
a60578c82c edit ci 2019-04-11 16:23:29 +08:00
jroam
74558a500c edit c1 2019-04-11 16:17:44 +08:00
jroam
d963d8c8c1 testci 2019-04-11 16:13:56 +08:00
jroam
641f939e3d edit test 2019-04-11 15:57:48 +08:00
jroam
af77504eaf 修改测试 2019-04-11 15:49:00 +08:00
jroam
cd719f134d 测试率达到82.9% 2019-04-11 09:47:51 +08:00
John
0ffe17ee3d revert SearchArray/InArray functions for gstr 2019-04-11 09:26:52 +08:00
John
4ac647a215 gcmd updates 2019-04-11 09:05:27 +08:00
John
872536c035 Merge branch 'master' of https://github.com/gogf/gf 2019-04-10 23:09:59 +08:00
John
c7a6a6fff0 improve grand.Intn; README updates 2019-04-10 23:09:38 +08:00
yybjroam@qq.com
2534655bc8 测试覆盖率达到76.3% 2019-04-10 22:16:16 +08:00
John Guo
0cb82d70fd
Merge pull request #96 from aloncn/master
update unit test for gring
2019-04-10 21:42:25 +08:00
John
9ec15ad2ca fix issue in repeated rand value of grand.Intn 2019-04-10 18:33:12 +08:00
jroam
a9b7d56d0b 测试覆盖率达到63.1% 2019-04-10 17:54:28 +08:00
jroam
e9ca1eb538 完成第一遍功能测试 2019-04-10 16:45:33 +08:00
jroam
0532800895 添加测试代码 2019-04-10 16:22:29 +08:00
aloncn
ad50ca6e60 update unit test for gring 2019-04-10 14:26:21 +08:00
jroam
c1ad999c25 添加测试 2019-04-10 13:45:42 +08:00
jroam
4accd1264d 添加内容测试 2019-04-10 13:39:36 +08:00
jroam
4bf9a7950b Merge branch 'master' into test_gfile 2019-04-10 11:28:57 +08:00
aloncn
8285c31bf1 Update unit test for gring 2019-04-10 10:44:40 +08:00
aloncn
230be66fa9 update unit test for gring 2019-04-10 10:13:56 +08:00
aloncn
2c53f934c9 Merge branch 'master' of https://github.com/gogf/gf 2019-04-10 09:50:29 +08:00
John
08785cb272 update unit test cases of gjson 2019-04-10 08:54:49 +08:00
aloncn
bd0207c938 update unit test for gring 2019-04-10 01:16:45 +08:00
John
6fad737617 update unit test cases of gjson/gparser 2019-04-10 01:00:51 +08:00
aloncn
922eaf4d42 Update unit test for gring 2019-04-10 00:37:06 +08:00
farmer chen
4b5153950f Add unit test for gring 2019-04-10 00:37:06 +08:00
yybjroam@qq.com
6cc0017826 测试空的断言。 2019-04-09 23:25:20 +08:00
John
85c2ed1bf2 improve nil checks for gtest.Assert* 2019-04-09 23:12:22 +08:00
yybjroam@qq.com
aca1df634d 添加测试文件内容相关函数。 2019-04-09 23:11:04 +08:00
wenzi1
053a3c1a53 add unit test 2019-04-09 19:12:48 +08:00
wenzi
468c315087
Merge pull request #4 from gogf/master
update 1.6
2019-04-09 17:36:40 +08:00
wenzi1
b3d5fc149e add unit test 2019-04-09 17:27:11 +08:00
Jay
277b7a4536 测试修改 2019-04-09 15:06:12 +08:00
wenzi1
43886511b9 add unit test 2019-04-09 12:28:21 +08:00
yybjroam@qq.com
054ef87886 继续添加文件测试. 2019-04-08 23:13:28 +08:00
Jay
39c65d9e9a 测试添加 2019-04-08 17:49:15 +08:00
Jay
b97bbbfa3d 测试添加 2019-04-08 17:32:07 +08:00
Jay
ace6ba8096 Gmap 测试添加 2019-04-08 17:02:57 +08:00
yybjroam@qq.com
a2b87d84e9 添加gfile测试代码,10% 2019-04-07 22:46:14 +08:00