Fix incorrect example
This commit is contained in:
parent
59de4ff80c
commit
e5a058f289
1 changed files with 1 additions and 1 deletions
2
mo.go
2
mo.go
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue