Commit Graph

55 Commits

Author SHA1 Message Date
John Guo
e8581d4fd5 add Is/Equal/Unwrap functions for package gerror 2022-04-12 15:45:26 +08:00
John Guo
546b6b1724 t.Assert(err, nil) -> t.AssertNil(err) 2022-03-10 11:36:40 +08:00
John Guo
01b9fa8ac9 improve package gcfg 2022-01-25 20:43:57 +08:00
John Guo
3bbbe1db9c change pointer receiver that implements interface MarshalJSON to struct receiver for all packages 2022-01-19 16:55:57 +08:00
John Guo
0f67559995 add gcode.WithCode 2022-01-10 22:58:29 +08:00
John Guo
ce93b625d4 change errors wrapped by gerror.Wrap with error stack info for all packages 2021-12-21 22:59:14 +08:00
John Guo
7e81600772 improve package gjson 2021-12-20 00:32:23 +08:00
John Guo
0e3a8576b4 improve debugging feature 2021-12-04 23:07:54 +08:00
John Guo
57ccc13e0c unit testing files renaming 2021-11-17 23:20:58 +08:00
houseme
ff8633231f improve code 'if block ends with a return statement, so drop this else and outdent its block (golint)' 2021-11-16 00:26:10 +08:00
houseme
e4ddeb6033 Improved import, by group improt. 2021-11-14 18:24:38 +08:00
John Guo
ce16dad88f improve error handling for custom validation rule for package gvalid 2021-11-14 17:47:21 +08:00
houseme
be03b3cdda Improved import, by group improt. 2021-11-13 23:23:55 +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
55a9c0738b improve package gcache, add GetVar*/RemoveVar/UpdateVar functions for package gcache 2021-09-16 20:57:59 +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
John Guo
59397fd8a5 add buildin function add/minus/times/divide for package gview 2021-08-25 20:00:53 +08:00
John Guo
abc8e62d58 add package gcode and improve error implements for package gerror 2021-08-24 21:18:59 +08:00
John Guo
cd3593182a improve package gerror/ghttp for error code handling 2021-08-07 10:44:57 +08:00
John Guo
00d7ee93b2 improve package gerror 2021-08-05 11:40:31 +08:00
John Guo
4c54b1cfbc improve errcode feature for package gerror 2021-08-04 20:50:45 +08:00
jflyfox
9f096fc63d improve error code for package gerror 2021-07-30 16:21:45 +08:00
jflyfox
4267aadd78 remove controller feature from package ghttp 2021-07-30 15:15:44 +08:00
John Guo
0ddacdd7e2 add error code for components 2021-07-20 23:02:02 +08:00
John Guo
d109706ad3 unify error package to gerror 2021-06-26 18:34:26 +08:00
John Guo
2679f92aa8 comment update for package gerror 2021-06-10 20:45:22 +08:00
John Guo
fefde4c290 improve stack feature for package gdebug/gerror 2021-02-04 00:10:13 +08:00
John Guo
093034acd1 copyright comment update 2021-01-17 21:46:25 +08:00
John Guo
9c8a68f742 add MarshalJSON for package gerror 2021-01-14 00:05:15 +08:00
jflyfox
86e70ad55c improve package gerror 2020-12-30 13:18:43 +08:00
jflyfox
4beeeb92ac improve gerror.Stack 2020-12-29 14:28:26 +08:00
John Guo
695d333d2f add example cases for package gerror 2020-12-28 14:59:49 +08:00
John Guo
5f28adec36 add benchmark testing case for package gerror 2020-12-28 13:43:17 +08:00
John Guo
0ca305a1bf improve package gerror 2020-12-11 01:08:15 +08:00
John Guo
1d1e64b834 improve package gerror 2020-12-11 00:45:15 +08:00
John Guo
84fef8dea3 add error code feature for package gerror 2020-12-10 23:33:24 +08:00
jflyfox
7316e6648f change errors to gerror; update copyright in comment 2020-12-09 16:04:29 +08:00
Jack
60fc9b6417 add gerror.ApiCurrent impements for gerror.Error 2020-11-25 19:06:29 +08:00
Jack
65c67427d4 compatible with Case of https://github.com/pkg/errors 2020-11-23 16:32:57 +08:00
John
f4f4550483 improve package gerror 2020-10-18 20:18:55 +08:00
John
e87226a092 improve package gerror 2020-10-18 11:29:09 +08:00
John
7725d9aaaf add Current/Next function for package gerror 2020-10-17 17:17:10 +08:00
John
6e7224e306 improve error handling for gconv.Struct/ghttp.Server; add NewSkip/NewfSkip function for package gerror 2020-04-28 15:04:07 +08:00
John
5db10add4a fix issue in unnacessary quoting of fields in select statement of gdb.Model 2020-04-27 16:30:53 +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
d8ef8a1f5d add gf.debug options and GF_DEBUG env control params for internal logging feature 2020-02-22 14:51:44 +08:00
John
80c6ceaf26 fix issue 437 2019-12-25 21:22:06 +08:00
John
382356bc8d improve gerror for stack information; fix issue in gconv.String for nil *time.Time type 2019-11-21 21:49:00 +08:00