v0.0.365
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 1m24s

This commit is contained in:
Mike Schwörer 2024-01-09 18:23:46 +01:00
parent 668f308565
commit 617298c366
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF
2 changed files with 5 additions and 5 deletions

View File

@ -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)
}
})

View File

@ -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"