From 617298c36618915c0478c10470833eda30389cb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Tue, 9 Jan 2024 18:23:46 +0100 Subject: [PATCH] v0.0.365 --- ginext/engine.go | 6 +++--- goextVersion.go | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) 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"