John
|
bf25a3a601
|
gtimer updates; grand updates, change buffer slice type from uint64 to uint32
|
2019-01-17 14:15:23 +08:00 |
|
John
|
cb24714faa
|
gcron updates
|
2019-01-16 22:59:26 +08:00 |
|
John
|
a4ad301b44
|
fulfil logics of Exit* funcs of ghttp
|
2019-01-16 20:27:58 +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
|
602592a354
|
TODO--
|
2019-01-13 17:02:32 +08:00 |
|
John
|
018853e976
|
optimize WebServer in hook priority handler and request exit mechanism
|
2019-01-13 00:43:36 +08:00 |
|
John
|
432c16c89f
|
complete pckage gtimer development, a levelled timing wheel for interval/delayed jobs running and management
|
2019-01-12 22:41:12 +08:00 |
|
John
|
241706cbbf
|
up
|
2019-01-12 20:20:30 +08:00 |
|
John
|
33dd0f9922
|
timing wheel up
|
2019-01-11 13:46:40 +08:00 |
|
John
|
1c9cb8286f
|
up
|
2019-01-09 12:54:37 +08:00 |
|
John
|
8296061b64
|
up
|
2019-01-06 16:43:42 +08:00 |
|
John
|
bb5d84c29c
|
up
|
2019-01-06 11:09:50 +08:00 |
|
John
|
40b5162fdf
|
up
|
2019-01-04 15:32:16 +08:00 |
|
John
|
7934ad6904
|
Merge branch 'develop' of https://gitee.com/johng/gf into develop
|
2019-01-03 19:12:08 +08:00 |
|
John
|
858b010caa
|
up
|
2019-01-03 19:11:54 +08:00 |
|
蚊子
|
37cd2351e2
|
!16 增加ORACLE,SQL SERVER中获取指定表的所有字段名的方法
Merge pull request !16 from 蚊子/master
|
2019-01-02 21:11:30 +08:00 |
|
wenzi1
|
be1e250a6b
|
增加ORACLE,SQL SERVER中获取指定表的所有字段名的方法
|
2019-01-02 18:17:01 +08:00 |
|
John
|
f1c7b95b33
|
up
|
2019-01-01 19:43:31 +08:00 |
|
John
|
1966b40d01
|
ghttp.Client updates; add more unit test cases for web server
|
2018-12-31 00:50:55 +08:00 |
|
John
|
e558863743
|
up
|
2018-12-30 11:08:07 +08:00 |
|
John
|
f5b2556b70
|
up
|
2018-12-28 21:44:36 +08:00 |
|
John
|
2cff10e0d2
|
fix issue in controller interface definition
|
2018-12-26 10:17:24 +08:00 |
|
John
|
2063f662d3
|
fix silly issue in binary search of garray package, and add unit-test file for garray
|
2018-12-20 21:55:05 +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
|
d05b497cdb
|
Merge branch 'master' into qiangg_router_group
|
2018-12-19 18:58:47 +08:00 |
|
John
|
ef919be587
|
g.DB can use gdb's configurations, not to force using config.toml
|
2018-12-19 18:35:44 +08:00 |
|
John
|
fff31e0f4f
|
add Charset support for mysql of gdb package; fix issue for glog for log writing failed when the folder path wa deleted
|
2018-12-19 18:15:22 +08:00 |
|
John
|
48328ae52c
|
router group developing
|
2018-12-19 14:45:39 +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
|
0a1e048268
|
add Model.Clone support for gdb package
|
2018-12-18 10:10:14 +08:00 |
|
John
|
95db811943
|
add travis/goreport/golint/govet
|
2018-12-17 13:02:18 +08:00 |
|
John
|
7a8bd96edc
|
gdb: add support for slice argument in where statement
|
2018-12-17 10:52:44 +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
|
c961c22cd7
|
update gview: show empty string when the variable does not exist
|
2018-12-13 18:24:22 +08:00 |
|
John
|
105a821069
|
fix issue: database connection pool does not work expectly
|
2018-12-12 20:01:10 +08:00 |
|
John
|
51e70be04d
|
Add rewrite feature to WebServer; Add Unique for un sorted array of garray; Fix map conversion issue of gjson.
|
2018-12-10 20:24:20 +08:00 |
|
John
|
b7a6d257d5
|
Fix binary decoding issue of gbinary package.
|
2018-12-08 18:18:05 +08:00 |
|
John
|
83f5a9d34e
|
Package gview: build-in function 'date' supports printing current datetime.
|
2018-12-05 15:48:15 +08:00 |
|
John
|
431e1051b8
|
Fix gdb.Model.Count method: Count with no fields checking
|
2018-12-05 13:52:34 +08:00 |
|
John
|
8481de2b47
|
Add method for gcache package, to show all map datas of the cache.
|
2018-12-04 20:23:48 +08:00 |
|
John
|
c973f133de
|
hot fix
|
2018-12-04 19:50:24 +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
|
aee266eea0
|
WebServer改进
|
2018-11-28 20:19:28 +08:00 |
|
John
|
8304769953
|
代码修正
|
2018-11-27 20:37:57 +08:00 |
|
John
|
914a74bca9
|
完善代码示例
|
2018-11-26 09:33:45 +08:00 |
|
John
|
b965dbff70
|
gvar调用端改进,去掉不必要的并发安全参数;错误提示细节改进
|
2018-11-25 22:18:36 +08:00 |
|
John
|
4e3081afee
|
ORM增加mysql datetime参数写入示例
|
2018-11-24 09:42:21 +08:00 |
|
John
|
aa42ddd3f1
|
改进随机数生成缓冲区
|
2018-11-23 21:39:05 +08:00 |
|
John
|
38932f306d
|
改进gspath缓存数据结构
|
2018-11-23 16:45:30 +08:00 |
|
John
|
5e7e1077a1
|
性能改进
|
2018-11-23 09:20:45 +08:00 |
|
John
|
8f85311332
|
完善获取数据库配置失败时的错误提示
|
2018-11-21 00:02:29 +08:00 |
|
John
|
64a22acf84
|
WebServer允许同一HOOK事件被多次绑定注册,先注册的回调函数优先级更高
|
2018-11-19 23:13:12 +08:00 |
|
John
|
4e5877923d
|
dev
|
2018-11-19 21:49:43 +08:00 |
|
John
|
ceaa1a4dd1
|
Merge branch 'develop' of https://gitee.com/johng/gf into develop
|
2018-11-19 21:12:21 +08:00 |
|
John
|
9e1ad46c90
|
改进ghttp.Request,增加SetParam/GetParam请求流程自定义变量方法;gvar模块增加VarRead只读接口
|
2018-11-19 21:11:43 +08:00 |
|
wenzi1
|
d85332aca1
|
ORM新增对MSSQL的支持
|
2018-11-19 11:38:57 +08:00 |
|
John
|
10c3f6d85a
|
完善程序细节和测试
|
2018-11-18 22:22:44 +08:00 |
|
John
|
fe753b0bc8
|
当前工作目录为系统临时目录时,gcfg/gview/ghttp模块默认不添加工作目录到搜索路径
|
2018-11-18 19:37:42 +08:00 |
|
John
|
6addd64cf0
|
glog模块日志前缀输出改进
|
2018-11-17 22:12:41 +08:00 |
|
John
|
f1b93204ac
|
改进WebSocket默认支持跨域请求;修复gspath模块Search时带有indexFiles的检索问题
|
2018-11-17 19:45:15 +08:00 |
|
John
|
b1455a1736
|
去掉gfile中得指针池使用;增加gvalid顺序性校验结果示例程序
|
2018-11-17 12:09:16 +08:00 |
|
John
|
c89482c3d6
|
WebServer性能细节改进
|
2018-11-17 11:17:02 +08:00 |
|
John
|
b190ee9fe6
|
初步完成第一阶段的性能改进
|
2018-11-17 02:39:23 +08:00 |
|
John
|
e8101cb02f
|
性能改进中
|
2018-11-16 18:20:09 +08:00 |
|
John
|
7f640da9a1
|
修复gtime.StrToTime的日期解析问题
|
2018-11-13 22:47:08 +08:00 |
|
John
|
8b36665a76
|
初步完成gvalid模块校验结果的顺序特性
|
2018-11-13 00:12:35 +08:00 |
|
John
|
72a18c0a10
|
glog增加文件指针池使用
|
2018-11-11 14:21:22 +08:00 |
|
John
|
e4b1b03b7f
|
改进gfsnotify在windows系统下的监控
|
2018-11-11 13:59:40 +08:00 |
|
John
|
9c4b454dbe
|
Merge branch 'develop' of https://gitee.com/johng/gf into develop
|
2018-11-11 13:55:37 +08:00 |
|
John
|
b303bf12b5
|
增加ghttp下载文件示例
|
2018-11-11 13:55:32 +08:00 |
|
John
|
882c69cb08
|
改进gfsnotify,支持编辑器对文件非标准编辑时(RENAME+CHMOD)的热更新问题
|
2018-11-11 11:26:03 +08:00 |
|
John
|
6ff44ad123
|
增加HTTP下载文件示例程序
|
2018-11-10 16:18:50 +08:00 |
|
John
|
463b35ed0d
|
改进gview内置变量在没有配置管理文件时的处理
|
2018-11-09 23:29:31 +08:00 |
|
John
|
0d5d357857
|
添加模板测试代码
|
2018-11-09 17:48:57 +08:00 |
|
john
|
feaec67b71
|
gvalid测试
|
2018-11-08 18:53:43 +08:00 |
|
john
|
59318ca184
|
改进gfile文件内容操作为使用gfpool
|
2018-11-08 14:00:28 +08:00 |
|
john
|
f1714b245f
|
改进gfpool,提升IO性能比标准库高100%以上
|
2018-11-08 13:38:12 +08:00 |
|
john
|
f8329e1077
|
改进gtime.Format支持中文
|
2018-11-07 17:55:45 +08:00 |
|
john
|
5dc8e93936
|
third package updates
|
2018-11-07 15:38:54 +08:00 |
|
john
|
871b7b87d0
|
ghttp.Request.Exit示例代码更新
|
2018-11-06 19:02:11 +08:00 |
|
john
|
61bc9dbd92
|
改进ghttp.Request.Exit,使得调用该方法时立即退出业务执行,开发者无需调用Exit方法时再使用return返回;glog模块增加To链式操作方法,执行下一次写入的writer
|
2018-11-06 18:53:25 +08:00 |
|
john
|
9fedea009d
|
修复gtime时间解析问题
|
2018-11-06 17:42:01 +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
|
f2a74220ad
|
改进gtime对日期时间字符串的解析
|
2018-11-06 10:59:32 +08:00 |
|
john
|
97c8ad2526
|
完善gfsnotify callback特性
|
2018-11-06 10:08:08 +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
|
45f43c6c60
|
gcron增加DelayAdd方法
|
2018-11-05 10:29:58 +08:00 |
|
john
|
66a73042d2
|
Merge branch 'master' of https://gitee.com/johng/gf
|
2018-11-03 17:50:15 +08:00 |
|
john
|
276bae7ef1
|
改进gfsnotify模块,去掉与gfile模块的依赖;改进gfpool文件指针池,加上对gfsnotify模块的依赖,使用全局文件监控对象
|
2018-11-03 17:50:00 +08:00 |
|
John
|
4dc2a49207
|
merge master
|
2018-11-03 16:00:22 +08:00 |
|
John
|
7d79ab5690
|
增加模板对象变量示例程序
|
2018-11-03 15:59:24 +08:00 |
|
john
|
464b6ed7ec
|
临时去掉gfpool文件指针池的使用
|
2018-11-03 15:27:48 +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
|
b2cb4486cb
|
Merge branch 'master' of https://gitee.com/johng/gf into qiangg_gfpool20181031
|
2018-11-01 10:22:25 +08:00 |
|
john
|
5e3736e755
|
Merge branch 'master' of https://gitee.com/johng/gf into develop
|
2018-11-01 09:06:14 +08:00 |
|
John
|
ee1df4d0e5
|
服务注册时增加方法定义判断;模板引擎增加strlimit/hidestr/highlight/toupper/tolower/nl2br内置模板函数
|
2018-10-31 22:39:58 +08:00 |
|
john
|
f3f7398ed8
|
gfpool改进中
|
2018-10-31 19:00:28 +08:00 |
|
john
|
df1b52d5d7
|
改进gtime.StrToTime对常用时间格式匹配模式
|
2018-10-31 16:57:13 +08:00 |
|
john
|
67c7042982
|
改进gconv.Struct转换默认规则,支持不区分大小写的键名与属性名称匹配
|
2018-10-31 09:15:17 +08:00 |
|
john
|
306d279a5b
|
改进gconv.Struct转换默认规则,支持不区分大小写的键名与属性名称匹配
|
2018-10-31 09:14:52 +08:00 |
|
John
|
2d23a18810
|
框架一些模块的细节改进
|
2018-10-30 23:58:10 +08:00 |
|
蚊子
|
f8a2e33905
|
!10 orm新增对oracle的支持
Merge pull request !10 from 蚊子/master
|
2018-10-30 22:46:41 +08:00 |
|
wenzi1
|
23cc742cd9
|
增加注释
|
2018-10-30 22:41:53 +08:00 |
|
John
|
cb2d40ed1a
|
去掉gview.HTML
|
2018-10-29 23:22:01 +08:00 |
|
John
|
ddf979e65b
|
模板引擎新增若干内置函数;gstr增加对中文截取方法
|
2018-10-29 22:58:30 +08:00 |
|
john
|
c4ef89eda3
|
改进gfile在开发环境下的main包绝对路径获取方式;ghttp.Request增加idFileServe属性
|
2018-10-29 13:59:06 +08:00 |
|
John
|
b6782a5e7d
|
gcfg增加获取配置变量为*gvar.Var; gfsnotify修复'假删除'处理逻辑
|
2018-10-27 16:05:36 +08:00 |
|
john
|
810252a00e
|
gfile.ScanDir支持pattern多个文件模式匹配,使用','符号分隔多个匹配模式
|
2018-10-26 18:39:03 +08:00 |
|
john
|
8315ada9db
|
修复路由变量匹配到'/'字符的问题
|
2018-10-26 11:39:17 +08:00 |
|
john
|
77b317f182
|
添加测试文件
|
2018-10-26 11:02:15 +08:00 |
|
john
|
e0c93a9429
|
改进gtype.Set方法,增加Set原子操作返回旧的变量值;改进gcron,增加自定义的Cron管理对象,增加New/Start/Stop方法;TODO++
|
2018-10-25 10:08:08 +08:00 |
|
john
|
9b214fa489
|
改进gcron,增加定时任务名称特性,并可根据名称执行检索和删除
|
2018-10-24 09:06:29 +08:00 |
|
john
|
1028ffa49f
|
修复gkafka异步发送消息问题,改进gfile常量管理
|
2018-10-23 16:56:25 +08:00 |
|
john
|
695140a1ab
|
完成gfile文件内容操作方法改进
|
2018-10-23 14:55:52 +08:00 |
|
john
|
648bc400dc
|
gfile改进中
|
2018-10-22 18:58:11 +08:00 |
|
john
|
c5a03fca83
|
新增gcron定时任务包
|
2018-10-22 16:53:43 +08:00 |
|
john
|
2d9df2f544
|
去掉第三方times包
|
2018-10-22 13:19:06 +08:00 |
|
john
|
7fbbf09b0e
|
新增go modules支持,自行管理第三方包依赖,方便开发者使用
|
2018-10-22 11:13:00 +08:00 |
|
john
|
9bb1125169
|
增加go modules支持
|
2018-10-19 17:21:30 +08:00 |
|
john
|
18c1d84ff5
|
完成Web Server路由表打印/获取特性
|
2018-10-18 13:43:00 +08:00 |
|
john
|
4ba6762632
|
Web Server路由注册项打印特性
|
2018-10-17 16:56:50 +08:00 |
|
john
|
946e3a9e0d
|
Web Server增加启动时的路由展示特性,开发中
|
2018-10-17 10:09:42 +08:00 |
|
john
|
5997803f8d
|
改进garray排序数组
|
2018-10-16 18:12:50 +08:00 |
|
john
|
3e10d301ee
|
增加gtime.StrToTimeFormat方法示例程序
|
2018-10-16 16:09:36 +08:00 |
|
john
|
cc2e891980
|
改进gtime模块,并增加时区转换方法
|
2018-10-16 15:49:30 +08:00 |
|
John
|
aa4943e606
|
g.View增加分组名称;模板引擎增加Assign/Assigns方法
|
2018-10-15 22:39:56 +08:00 |
|
john
|
97032a47c9
|
模板引擎增加text/html方法,用于过滤html标签及保留html标签
|
2018-10-15 13:46:51 +08:00 |
|
John
|
0c307a71d2
|
改进SESSION方法
|
2018-10-13 22:43:35 +08:00 |
|
John
|
892317e3dd
|
gredis改进为单例操作方式,每次操作redis服务器时开发者无需显示调用Close方法
|
2018-10-13 21:13:18 +08:00 |
|
John
|
5204193c58
|
改进gdb,增加数据库操作自动Close特性(使用链接池),用户无需再defer db.Close(),并增加g.DB数据库对象单例别名
|
2018-10-13 20:29:27 +08:00 |
|
john
|
e3a491a16b
|
gspath添加debug信息,改进glog链式操作方法
|
2018-10-11 09:56:01 +08:00 |
|
john
|
0733164af1
|
改进glog的backtrace skip功能,g模块增加错误日志信息提示
|
2018-10-10 18:39:57 +08:00 |
|
john
|
029bbd2ded
|
完善glog示例程序文件
|
2018-10-10 15:24:30 +08:00 |
|
john
|
2af1639751
|
glog增加对文件名称格式的自定义设置,支持gtime日期格式
|
2018-10-09 21:41:07 +08:00 |
|
john
|
f0c4068448
|
完成gvar包的开发,并改进相关依赖包
|
2018-10-09 13:33:00 +08:00 |
|
john
|
c3d8ba756b
|
完善gconv.Struct转换示例代码,改进gjson/gparser/gcfg相关引用方法
|
2018-10-08 13:38:36 +08:00 |
|
john
|
ddd1e71c4f
|
merge master
|
2018-10-08 09:44:53 +08:00 |
|
john
|
16dd4a92c1
|
去掉garray排序数组的length属性
|
2018-09-30 16:49:34 +08:00 |
|
john
|
0be5cd590b
|
修复garray排序数组Add可变参数问题
|
2018-09-30 16:32:12 +08:00 |
|
john
|
bd0df135c8
|
修复garray排序数组Add变参时的死锁问题
|
2018-09-30 15:44:48 +08:00 |
|
john
|
99735b5f1d
|
改进gconv.Struct对象转换
|
2018-09-30 13:31:03 +08:00 |
|