From 2b6128ef9ba5f3f8584ce630157e9ad48146ea94 Mon Sep 17 00:00:00 2001 From: Evan Chen Date: Mon, 3 Jan 2022 00:50:21 +0800 Subject: [PATCH] typo --- calendar/service.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/service.go b/calendar/service.go index eda22b1..4a9af48 100644 --- a/calendar/service.go +++ b/calendar/service.go @@ -23,7 +23,7 @@ func (srv Service) Init() error { rand.Seed(time.Now().UnixNano()) db = store.DB - l = util.Klog.With().Str("mod", "auth").Logger() + l = util.Klog.With().Str("mod", "calendar").Logger() l.Debug().Msg("Migrating database for calendar.Service ...") if err := store.Migrate(&Calendar{}, &EventGroup{}, &Event{}); err != nil { l.Error().Err(err).Msg("Migrating database")