Fix incorrect example

This commit is contained in:
Andrew Colin Kissa 2022-06-08 13:49:57 +02:00 committed by GitHub
parent 59de4ff80c
commit e5a058f289
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
mo.go
View file

@ -36,7 +36,7 @@ Example:
func main() {
// Create po object
po := gotext.NewMoTranslator()
po := gotext.NewMo()
// Parse .po file
po.ParseFile("/path/to/po/file/translations.mo")