From 57ba61f1e59e47c0dff18ae9f7e5b36988a1de94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arda=20=C3=96zceviz?= Date: Tue, 9 May 2023 22:25:52 +0200 Subject: [PATCH] fix comment on MustLoadMessageFile function (#298) --- v2/i18n/bundle.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2/i18n/bundle.go b/v2/i18n/bundle.go index 513c127d..21651f31 100644 --- a/v2/i18n/bundle.go +++ b/v2/i18n/bundle.go @@ -59,7 +59,7 @@ func (b *Bundle) LoadMessageFile(path string) (*MessageFile, error) { return b.ParseMessageFileBytes(buf, path) } -// MustLoadMessageFile is similar to LoadTranslationFile +// MustLoadMessageFile is similar to LoadMessageFile // except it panics if an error happens. func (b *Bundle) MustLoadMessageFile(path string) { if _, err := b.LoadMessageFile(path); err != nil {