From 595811dd1f20f028d3a40d3cc45f98b1c200cbba Mon Sep 17 00:00:00 2001 From: namhq1989 Date: Wed, 24 Aug 2022 10:28:30 +0700 Subject: [PATCH] add type Map for log data --- logger.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logger.go b/logger.go index 94cd9b0..cdca2ba 100644 --- a/logger.go +++ b/logger.go @@ -7,7 +7,7 @@ import ( ) type ( - Data struct { + LogData struct { Source string Message string Data interface{}