Commit Graph

3933 Commits

Author SHA1 Message Date
John Guo
0ddacdd7e2 add error code for components 2021-07-20 23:02:02 +08:00
John Guo
f72d991c36 rename attribute names from lower-camel case to upper-camel case 2021-07-19 20:06:44 +08:00
John Guo
528f0e5434 Merge branch 'feature/new-register-type' into develop 2021-07-19 19:41:09 +08:00
John Guo
88009ee278 fix issue #1341 2021-07-15 22:19:00 +08:00
John Guo
b192b7dd60 remove internal logging for package gtimer 2021-07-15 21:46:56 +08:00
John Guo
03d51bd18c add internal logging for package gtimer 2021-07-15 21:40:26 +08:00
John Guo
5c6c932a75 merge master 2021-07-15 21:23:36 +08:00
John Guo
92c3c136f9 improve color feature for package glog 2021-07-15 21:20:29 +08:00
John Guo
5069436fd2
Merge pull request #1346 from goflyfox/dev
update pgsql pri error #1340
2021-07-15 21:18:52 +08:00
jflyfox
141ba2e951 update pgsql pri error #1340 2021-07-15 14:53:21 +08:00
John Guo
fae4dea37a improve color feature for package glog 2021-07-15 13:31:32 +08:00
John Guo
860b22aba4
Merge pull request #1312 from wangle201210/develop
add log level prefix color
2021-07-15 09:16:27 +08:00
wanna
30dbccf99e 输出对应err 2021-07-14 21:28:23 +08:00
wanna
9b2497bc57 Merge branch 'develop-up' into develop
* develop-up: (38 commits)
  revert gerror usage for package gvalid
  unify error package to gerror
  add CtxStrict feature for package gdb
  rename constants of package gpage from skake to upper camel case
  add context for intlog
  improve Record/Result converting for package gdb
  add context for intlog/gsession;improve struct/structs converting for package gconv
  unify command or enviroment key names for packages
  improve details for package glog
  add file configuration support for logger in ghttp.Server
  version updates
  add more unit testing cases for package ghttp
  add automatic fields mapping and filtering for Model.Where statements
  improve Order feature for package gdb
  improve function Increment/Decrement for package gdb
  add auto fields filtering feature for function Scan of package gdb; mark funtcion Struct/Structs deprecated for gdb.Model
  improve record converting for package gdb
  improve transaction feature for package gdb
  improve caller path filtering for package gdebug
  improve caller path filtering for package gdebug
  ...

# Conflicts:
#	os/glog/glog_logger.go
#	os/glog/glog_logger_config.go
#	os/glog/glog_logger_level.go
2021-07-14 21:12:18 +08:00
John Guo
0140808460 add handler extension feature for package ghttp 2021-07-13 23:01:31 +08:00
wanna
84aa30d9c2 允许日志文件中添加颜色 2021-07-13 22:45:35 +08:00
wanna
bc724deb5e 日志内容区分文件和控制台输出 2021-07-13 21:43:07 +08:00
John Guo
fbfc23211c fix issue in Counter of package gdb 2021-07-13 19:37:16 +08:00
John Guo
3d4d3a763a comment update for package gfsnotify 2021-07-12 22:05:03 +08:00
John Guo
046749566d update sql of unit testing case for package gdb 2021-07-08 23:06:58 +08:00
John Guo
3b1b8a8306 Merge branch 'master' of https://github.com/gogf/gf 2021-07-08 22:44:29 +08:00
John Guo
5e92747737 fix issue #1291 2021-07-08 22:44:16 +08:00
John Guo
82ad7e2acc add more unit testing case for package gdb 2021-07-08 22:08:45 +08:00
John Guo
2d319d0856 update sql of unit testing cases for package gdb 2021-07-08 21:46:21 +08:00
John Guo
c060904f3f
Merge pull request #1328 from lgyaxx/patch-1
Update gdb_model_fields.go
2021-07-08 21:18:42 +08:00
John Guo
a63c4b6441 add more unit testing case for package gdb 2021-07-08 21:06:49 +08:00
John Guo
9df860a202 fix issue #1292 2021-07-08 21:02:36 +08:00
Eagle
2a1634fd6f
Update gdb_model_fields.go
annotation typo fix
2021-07-08 15:42:51 +08:00
John Guo
2970864158 fix issue #1240 2021-07-06 21:18:26 +08:00
John Guo
8e76d7a8ed improve function TableFileds for gussing table name from table string;add overwrote function DoInsert for mssql/pgsql/oracle/sqlite for unsupported features 2021-07-06 20:59:09 +08:00
John Guo
50e5dd5bd0 fix issue in fields filtering for table name with as statement 2021-07-06 13:14:33 +08:00
John Guo
7e2605188d improve session variable map in template parsing 2021-07-06 09:58:25 +08:00
John Guo
e5ae1cb85c improve session variable map in template parsing 2021-07-06 09:53:35 +08:00
John Guo
1e78734f2c remove gf cli from basic framework 2021-06-30 20:43:49 +08:00
John Guo
d5fad88c56 gf cli updates 2021-06-30 20:16:49 +08:00
John Guo
35a81b868f gf cli updates 2021-06-30 20:08:25 +08:00
John Guo
84355c1ddd gf cli updates 2021-06-30 20:07:46 +08:00
John Guo
012121ea77 gf cli updates 2021-06-30 20:00:50 +08:00
John Guo
1e628b9edb move command tool from repo gf-cli to sub folder 2021-06-30 00:15:52 +08:00
wanna
bfdeb6c4f5 log color兼容win环境 2021-06-29 21:05:46 +08:00
John Guo
c42a9d6e50
Merge pull request #1316 from qinyuguang/otel
Otel
2021-06-29 13:05:38 +08:00
qinyuguang
083e32fd9e otel version bump to v1.0.0-RC1 2021-06-28 13:36:37 +08:00
John Guo
2a350fd3ab merge develop 2021-06-28 13:15:40 +08:00
wanna
03928f1977 add logging level prefix with color or not config 2021-06-28 00:58:35 +08:00
wanna
a2771c7558 format code 2021-06-28 00:23:25 +08:00
wanna
968e1db94d add log level prefix color 2021-06-28 00:00:44 +08:00
John Guo
bb0a3e09d6 revert gerror usage for package gvalid 2021-06-26 18:44:59 +08:00
John Guo
d109706ad3 unify error package to gerror 2021-06-26 18:34:26 +08:00
John Guo
b958689264 add CtxStrict feature for package gdb 2021-06-26 18:20:55 +08:00
John Guo
859ea150ed rename constants of package gpage from skake to upper camel case 2021-06-26 17:00:32 +08:00