Server handling refactor (#27)

This commit is contained in:
2024-03-23 17:41:34 +01:00
committed by GitHub
parent db111642d2
commit 0c14419e7e
9 changed files with 77 additions and 85 deletions

View File

@ -63,7 +63,7 @@ func GetLogFormatter(param gin.LogFormatterParams) string {
)
}
func normalizeLog(log interface{}) interface{} {
func normalizeLog(log any) any {
switch v := log.(type) {
case string:
if v == "" {