v0.0.234
This commit is contained in:
parent
99cd92729e
commit
c872cecc67
@ -20,6 +20,7 @@ type ErrorPackageConfigInit struct {
|
|||||||
ZeroLogAllTraces bool
|
ZeroLogAllTraces bool
|
||||||
RecursiveErrors bool
|
RecursiveErrors bool
|
||||||
ExtendedGinOutput bool
|
ExtendedGinOutput bool
|
||||||
|
IncludeMetaInGinOutput bool
|
||||||
ExtendGinOutput func(err *ExErr, json map[string]any)
|
ExtendGinOutput func(err *ExErr, json map[string]any)
|
||||||
ExtendGinDataOutput func(err *ExErr, depth int, json map[string]any)
|
ExtendGinDataOutput func(err *ExErr, depth int, json map[string]any)
|
||||||
}
|
}
|
||||||
@ -31,6 +32,7 @@ var pkgconfig = ErrorPackageConfig{
|
|||||||
ZeroLogAllTraces: false,
|
ZeroLogAllTraces: false,
|
||||||
RecursiveErrors: true,
|
RecursiveErrors: true,
|
||||||
ExtendedGinOutput: false,
|
ExtendedGinOutput: false,
|
||||||
|
IncludeMetaInGinOutput: true,
|
||||||
ExtendGinOutput: func(err *ExErr, json map[string]any) {},
|
ExtendGinOutput: func(err *ExErr, json map[string]any) {},
|
||||||
ExtendGinDataOutput: func(err *ExErr, depth int, json map[string]any) {},
|
ExtendGinDataOutput: func(err *ExErr, depth int, json map[string]any) {},
|
||||||
}
|
}
|
||||||
@ -58,6 +60,7 @@ func Init(cfg ErrorPackageConfigInit) {
|
|||||||
ZeroLogAllTraces: cfg.ZeroLogAllTraces,
|
ZeroLogAllTraces: cfg.ZeroLogAllTraces,
|
||||||
RecursiveErrors: cfg.RecursiveErrors,
|
RecursiveErrors: cfg.RecursiveErrors,
|
||||||
ExtendedGinOutput: cfg.ExtendedGinOutput,
|
ExtendedGinOutput: cfg.ExtendedGinOutput,
|
||||||
|
IncludeMetaInGinOutput: cfg.IncludeMetaInGinOutput,
|
||||||
ExtendGinOutput: ego,
|
ExtendGinOutput: ego,
|
||||||
ExtendGinDataOutput: egdo,
|
ExtendGinDataOutput: egdo,
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
package goext
|
package goext
|
||||||
|
|
||||||
const GoextVersion = "0.0.233"
|
const GoextVersion = "0.0.234"
|
||||||
|
|
||||||
const GoextVersionTimestamp = "2023-08-09T10:37:59+0200"
|
const GoextVersionTimestamp = "2023-08-09T10:39:14+0200"
|
||||||
|
Loading…
Reference in New Issue
Block a user