v0.0.245
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 40s
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 40s
This commit is contained in:
parent
2e2e15d4d2
commit
39a0b73d56
@ -16,11 +16,11 @@ type ErrorPackageConfig struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type ErrorPackageConfigInit struct {
|
type ErrorPackageConfigInit struct {
|
||||||
ZeroLogErrTraces bool
|
ZeroLogErrTraces *bool
|
||||||
ZeroLogAllTraces bool
|
ZeroLogAllTraces *bool
|
||||||
RecursiveErrors bool
|
RecursiveErrors *bool
|
||||||
ExtendedGinOutput bool
|
ExtendedGinOutput *bool
|
||||||
IncludeMetaInGinOutput 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)
|
||||||
}
|
}
|
||||||
@ -56,11 +56,11 @@ func Init(cfg ErrorPackageConfigInit) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pkgconfig = ErrorPackageConfig{
|
pkgconfig = ErrorPackageConfig{
|
||||||
ZeroLogErrTraces: cfg.ZeroLogErrTraces,
|
ZeroLogErrTraces: langext.Coalesce(cfg.ZeroLogErrTraces, pkgconfig.ZeroLogErrTraces),
|
||||||
ZeroLogAllTraces: cfg.ZeroLogAllTraces,
|
ZeroLogAllTraces: langext.Coalesce(cfg.ZeroLogAllTraces, pkgconfig.ZeroLogAllTraces),
|
||||||
RecursiveErrors: cfg.RecursiveErrors,
|
RecursiveErrors: langext.Coalesce(cfg.RecursiveErrors, pkgconfig.RecursiveErrors),
|
||||||
ExtendedGinOutput: cfg.ExtendedGinOutput,
|
ExtendedGinOutput: langext.Coalesce(cfg.ExtendedGinOutput, pkgconfig.ExtendedGinOutput),
|
||||||
IncludeMetaInGinOutput: cfg.IncludeMetaInGinOutput,
|
IncludeMetaInGinOutput: langext.Coalesce(cfg.IncludeMetaInGinOutput, pkgconfig.IncludeMetaInGinOutput),
|
||||||
ExtendGinOutput: ego,
|
ExtendGinOutput: ego,
|
||||||
ExtendGinDataOutput: egdo,
|
ExtendGinDataOutput: egdo,
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
package goext
|
package goext
|
||||||
|
|
||||||
const GoextVersion = "0.0.244"
|
const GoextVersion = "0.0.245"
|
||||||
|
|
||||||
const GoextVersionTimestamp = "2023-08-18T13:27:02+0200"
|
const GoextVersionTimestamp = "2023-08-21T13:27:36+0200"
|
||||||
|
Loading…
Reference in New Issue
Block a user