Fix minor typos

Fix comments to ensure correct docs generated
This commit is contained in:
Andrew Colin Kissa 2022-06-08 13:54:15 +02:00 committed by GitHub
parent e5a058f289
commit 1a80e8e8a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

10
mo.go
View file

@ -35,14 +35,14 @@ Example:
)
func main() {
// Create po object
po := gotext.NewMo()
// Create mo object
mo := gotext.NewMo()
// Parse .po file
po.ParseFile("/path/to/po/file/translations.mo")
// Parse .mo file
mo.ParseFile("/path/to/po/file/translations.mo")
// Get Translation
fmt.Println(po.Get("Translate this"))
fmt.Println(mo.Get("Translate this"))
}
*/