Commit Graph

55 Commits

Author SHA1 Message Date
John Guo
977780736f improve gutil.Dump 2021-10-21 22:07:43 +08:00
John Guo
1bc0635f8b version 2 2021-10-11 21:41:56 +08:00
jianchenma
01a3dd1eb0 add function gerror.HasStack; rename all api* interfaces to i* 2021-09-17 19:26:56 +08:00
John Guo
64a5cedcdf fix recover logic 2021-09-14 20:47:06 +08:00
John Guo
006fb79967 improve package gjson; replace fmt.Errorf to gerror; improve examples for package gdb 2021-09-13 16:43:09 +08:00
qinyuguang
f2bc29e5c1 add gutil.SliceToMapWithColumnAsKey 2021-06-09 18:49:49 +08:00
fangjw
4f82be5bc0 Fixed incorrect type conversion 2021-06-07 10:17:23 +08:00
fangjw
ee3d375532 补充浮点数单元测试 2021-06-02 09:18:52 +08:00
fangjw
e3f5c9175c 补充浮点数单元测试 2021-06-02 09:17:50 +08:00
fangjw
7b32791006 修复浮点型排序
原因:
返回值,强制转成 int 类型,会导致浮点型比较不准确,例如:0.33,转成 int 类型时,会变成 0
2021-05-25 16:15:02 +08:00
fangjw
aa04948319 修复浮点型排序
原因:
返回值,强制转成 int 类型,会导致浮点型比较不准确,例如:0.33,转成 int 类型时,会变成 0
2021-05-25 16:10:52 +08:00
John Guo
482e093331 add map/[]map converting support for gconv.Scan;improve gconv.MaptoMaps 2021-03-23 17:53:20 +08:00
John Guo
093034acd1 copyright comment update 2021-01-17 21:46:25 +08:00
John Guo
bdf23ef48f fix issue of error code lost in middleware handling for package ghttp 2020-12-30 12:56:24 +08:00
jflyfox
4e79b90863 add gutil.SliceToMap 2020-12-25 15:34:54 +08:00
John Guo
7db1cfa898 add gutil.MapToSlice/StructToSlice 2020-12-16 00:50:42 +08:00
Jack
5171250a9d improve gutil.Keys,gdb.Model.Fields,internal/structs 2020-12-04 14:22:50 +08:00
John
c02bf715c5 improve gutil.ListItemValues/ListItemValuesUnique supporting retrieving values from slice attributes 2020-11-26 21:13:44 +08:00
John
fadb7a8f8f fix issue 1002 2020-11-21 13:20:32 +08:00
John
e20183e7a1 improve gutil.Keys/Values for embedded struct 2020-11-20 00:53:12 +08:00
John
e06b62ecf2 add default value from struct tag for ghttp.Request 2020-11-08 15:44:04 +08:00
John
fa8cc1d3f4 improve gutil.Keys 2020-11-06 21:21:09 +08:00
John
13330658cb add function Keys/Values for package gutil 2020-11-05 23:32:56 +08:00
Jack
ab689a7792 improve gutil.Dump 2020-10-22 09:24:57 +08:00
Jack
77f7884604 add function gutil.Try/g.Try;improve error string for gconv.Struct 2020-10-20 13:36:43 +08:00
Jack
fa96c18308 add function MapOmitEmpty for package gutil 2020-08-08 09:53:32 +08:00
John
3ae44185f4 add ScanList feature for gdb.Result 2020-07-05 11:23:39 +08:00
john
1290f42f75 improving package gdb 2020-07-04 08:50:52 +08:00
John
17b91dcad7 add ListItemValues/ListItemValuesUnique functions and associated unit testing cases for package gutil/gvar 2020-07-02 23:40:34 +08:00
John
bb07c60838 rename CopySlice to SliceCopy for package gutil 2020-06-22 21:56:10 +08:00
John
b2aa59d893 import third-party library json-iterator to improve the performance for json operations 2020-06-17 21:16:25 +08:00
John
54f47845f6 entity feature developing for package gdb 2020-06-17 11:37:45 +08:00
John
734aa5a6fe improve create_at,update_at,delete_at feature for package gdb 2020-04-15 12:56:41 +08:00
John
0515fc94cb add MapMerge/MapMargeCopy functions for package gutil; improve template view feature for indefinite parameters 2020-04-14 21:11:12 +08:00
John
385a503d31 add soft deleting feature, improve chars handling for package gdb 2020-04-11 09:09:25 +08:00
John
f22da4ba3a improve gconv.MapDeep with anonymous checks for attribute struct field 2020-04-09 15:34:23 +08:00
John
7fd53673ce add automatic time and soft deleting features: create_at/update_at/delete_at for package gdb; improve schema changing feature for package gdb 2020-04-08 21:26:14 +08:00
John
82125416a2 comment update for package ghttp 2020-04-06 22:31:45 +08:00
John
8ecd62d3de add example for package gres 2020-03-28 21:32:29 +08:00
John
f1f575fd5c improve package gins/gfile/intlog 2020-03-28 00:37:23 +08:00
John
0b6d04485e improve unit testing cases 2020-03-19 22:56:12 +08:00
John
36401a063d improve gutil.Dump, improve sqlite file searching when opening db file 2020-03-19 13:38:42 +08:00
John
849e7370d1 improve gutil.Dump, improve sqlite file searching when opening db file 2020-03-19 11:37:31 +08:00
John
be15f85eae remove sql.ErrNoRows error for select functions for gdb; improve configuration feature for gdb/glog/gview 2019-12-04 16:04:52 +08:00
John
05120b585d improve configuration feature for glog/ghttp.Server 2019-11-07 11:32:25 +08:00
John
0e62510c6f improve configuration feature, add instance feature for package glog; add package guuid for UUID feature 2019-11-06 20:22:20 +08:00
John
9416cd1274 add CopyMap function for gutil; improve ghttp.Request 2019-10-30 23:26:57 +08:00
John
46768d6f91 add UnmarshalJSON function and corresponding unit test cases for package grray 2019-09-29 20:47:59 +08:00
John
5cb4a8557d fix issue for unit test case of gutil 2019-08-10 17:59:34 +08:00
john
fda345577a add package gdebug; improve gconv/gfile/gset 2019-08-09 20:05:36 +08:00