diff --git a/ginext/engine.go b/ginext/engine.go index cd32131..59c33f4 100644 --- a/ginext/engine.go +++ b/ginext/engine.go @@ -17,7 +17,7 @@ import ( type GinWrapper struct { engine *gin.Engine - SuppressGinLogs bool + suppressGinLogs bool allowCors bool ginDebug bool @@ -51,7 +51,7 @@ func NewEngine(opt Options) *GinWrapper { wrapper := &GinWrapper{ engine: engine, - SuppressGinLogs: false, + suppressGinLogs: false, allowCors: langext.Coalesce(opt.AllowCors, false), ginDebug: langext.Coalesce(opt.GinDebug, true), bufferBody: langext.Coalesce(opt.BufferBody, false), @@ -75,7 +75,7 @@ func NewEngine(opt Options) *GinWrapper { ginlogger := gin.Logger() engine.Use(func(context *gin.Context) { - if !wrapper.SuppressGinLogs { + if !wrapper.suppressGinLogs { ginlogger(context) } }) diff --git a/goextVersion.go b/goextVersion.go index 2db835b..6454259 100644 --- a/goextVersion.go +++ b/goextVersion.go @@ -1,5 +1,5 @@ package goext -const GoextVersion = "0.0.364" +const GoextVersion = "0.0.365" -const GoextVersionTimestamp = "2024-01-09T18:17:55+0100" +const GoextVersionTimestamp = "2024-01-09T18:23:46+0100"