Fix minor typos
Fix comments to ensure correct docs generated
This commit is contained in:
parent
e5a058f289
commit
1a80e8e8a0
1 changed files with 5 additions and 5 deletions
10
mo.go
10
mo.go
|
@ -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"))
|
||||
}
|
||||
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue