Commit Graph

133 Commits

Author SHA1 Message Date
John
72569321fa package comments update 2019-01-16 13:35:16 +08:00
John
80c1a02377 pakage comments update 2019-01-16 09:00:23 +08:00
John
0c41909454 pakage comments updates 2019-01-15 23:27:47 +08:00
John
2b5d889bb9 fulfil unit test cases of gconv 2019-01-15 21:54:34 +08:00
John
2c2a71d429 fix issue in concurrent safe handling of gregex 2019-01-15 20:20:34 +08:00
John
1c72766c34 add new func Meet/MeetProb and alias N/Str/Digits/Letters for grand 2019-01-14 20:12:44 +08:00
John
302f3c1467 optimized package gconv, supported struct attr with ptr 2019-01-14 13:55:07 +08:00
John
9415419324 fix issue in gconv.Struct when given atrr of struct is nil time.Time 2019-01-14 09:00:31 +08:00
John
651bd33b73 add new 16x and 19x phone number validation for gvalid 2019-01-12 23:45:45 +08:00
John
f4644ce685 change func(xxx, safe...bool) to func(xxx, unsafe...bool); add new internal package mutex 2019-01-12 23:36:22 +08:00
John
a95b1f0dae add more unit test cases 2019-01-02 10:18:00 +08:00
John
6f15adf57f unit test cases++ 2018-12-31 17:46:04 +08:00
John
1966b40d01 ghttp.Client updates; add more unit test cases for web server 2018-12-31 00:50:55 +08:00
John
ccf837b2bf up 2018-12-30 14:53:16 +08:00
John
e558863743 up 2018-12-30 11:08:07 +08:00
John
f97bed2607 update default ConnMaxLifeTime to 10 seconds in gdb package 2018-12-28 21:56:27 +08:00
John
d7381399aa fix issue of grand.intn in x86 arch; add router group feature for WebServer 2018-12-20 21:04:43 +08:00
John
a86f4f8e23 disable auto adding temp directory to gview/gcfg search path; disable backtrace feature in normal log print with glog; fix issue caused by fmt.Fprintf in gfsnotify 2018-12-18 20:03:23 +08:00
John
95db811943 add travis/goreport/golint/govet 2018-12-17 13:02:18 +08:00
John
7434dfe6fa done refacting gdb package 2018-12-16 22:22:07 +08:00
John
e67aa63a50 refract gdb package, add complete unit test cases, almost there 2018-12-15 15:50:39 +08:00
John
09e6f10b60 new version of gdb developing 2018-12-14 10:09:45 +08:00
John
d23cdcbe57 改进gcache,完善功能及基准测试;改进gconv.Map对struct转换时默认使用json tag作为键名 2018-12-04 19:26:46 +08:00
John
b19e47783b ghttp增加静态文件目录映射功能;改进gspath目录管理功能;改进gconv的slice转换功能,并增加gconv.Map方法 2018-11-30 09:48:57 +08:00
John
578a6a2df3 改进随机数生成缓冲区 2018-11-24 08:43:39 +08:00
John
aa42ddd3f1 改进随机数生成缓冲区 2018-11-23 21:39:05 +08:00
John
e8101cb02f 性能改进中 2018-11-16 18:20:09 +08:00
John
8b36665a76 初步完成gvalid模块校验结果的顺序特性 2018-11-13 00:12:35 +08:00
john
61bc9dbd92 改进ghttp.Request.Exit,使得调用该方法时立即退出业务执行,开发者无需调用Exit方法时再使用return返回;glog模块增加To链式操作方法,执行下一次写入的writer 2018-11-06 18:53:25 +08:00
john
7fe089fc41 增加g.Throw抛异常方法,g.TryCatch异常捕获方法封装 2018-11-06 13:53:06 +08:00
john
1d751345f7 改进gconv.Int/Uint对float类型字符串的转换支持 2018-11-06 12:41:01 +08:00
john
e2111ceb3e 初步完成对gfsnotify的改进,增加对特定回调的取消注册功能 2018-11-05 16:26:08 +08:00
john
d257e554dd 改进grand随机数生成设计,底层使用crypto/rand+缓冲区实现高速的随机数生成;gtime模块增加FuncCost函数执行耗时计算 2018-11-05 13:53:17 +08:00
john
88a966ef17 gconv增加对带' '参数键名到struct属性的转换,如:nick name => struct.NickName,并完善示例程序 2018-11-02 13:13:01 +08:00
john
e7c60f11e1 gconv增加对带'-'及'_'参数键名到struct属性的转换,如:nick_name/nick-name => struct.NickName 2018-11-02 12:59:45 +08:00
john
a9f03fe9cb 改进gfpool文件指针池,增加对文件mv/rm后的指针池重建;改进gtime,增加对时间字符串更多的默认时间格式支持,新增gtime.ParseTimeFromContent方法 2018-11-01 17:22:55 +08:00
John
ee1df4d0e5 服务注册时增加方法定义判断;模板引擎增加strlimit/hidestr/highlight/toupper/tolower/nl2br内置模板函数 2018-10-31 22:39:58 +08:00
john
0389e8a8dd gconv增加基准测试代码 2018-10-31 09:57:37 +08:00
john
306d279a5b 改进gconv.Struct转换默认规则,支持不区分大小写的键名与属性名称匹配 2018-10-31 09:14:52 +08:00
John
2d23a18810 框架一些模块的细节改进 2018-10-30 23:58:10 +08:00
John
ddf979e65b 模板引擎新增若干内置函数;gstr增加对中文截取方法 2018-10-29 22:58:30 +08:00
john
7fbbf09b0e 新增go modules支持,自行管理第三方包依赖,方便开发者使用 2018-10-22 11:13:00 +08:00
john
18c1d84ff5 完成Web Server路由表打印/获取特性 2018-10-18 13:43:00 +08:00
john
ea10215d06 改进grand随机数生成规则 2018-10-15 13:13:23 +08:00
John
5204193c58 改进gdb,增加数据库操作自动Close特性(使用链接池),用户无需再defer db.Close(),并增加g.DB数据库对象单例别名 2018-10-13 20:29:27 +08:00
john
f0c4068448 完成gvar包的开发,并改进相关依赖包 2018-10-09 13:33:00 +08:00
john
845b954d0e gconv增加Ints/Floats/Interfaces转换方法,完善gconv.Struct方法封装,改进相关依赖包对gconv的引用 2018-10-09 10:05:55 +08:00
john
c3d8ba756b 完善gconv.Struct转换示例代码,改进gjson/gparser/gcfg相关引用方法 2018-10-08 13:38:36 +08:00
john
99735b5f1d 改进gconv.Struct对象转换 2018-09-30 13:31:03 +08:00
john
5f73334930 gconv.Struct改进 2018-09-29 18:06:04 +08:00