Skip to content

Commit

Permalink
fix comment on MustLoadMessageFile function (#298)
Browse files Browse the repository at this point in the history
  • Loading branch information
ardaozceviz authored May 9, 2023
1 parent 6bb0339 commit 57ba61f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2/i18n/bundle.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 57ba61f

Please sign in to comment.