Improved docs
This commit is contained in:
3
po.go
3
po.go
@@ -44,6 +44,8 @@ func (t *translation) getN(n int) string {
|
||||
|
||||
/*
|
||||
Po parses the content of any PO file and provides all the translation functions needed.
|
||||
It's the base object used by all packafe methods.
|
||||
And it's safe for concurrent use by multiple goroutines by using the sync package for write locking.
|
||||
|
||||
Example:
|
||||
|
||||
@@ -59,6 +61,7 @@ Example:
|
||||
// Get translation
|
||||
println(po.Get("Translate this"))
|
||||
}
|
||||
|
||||
*/
|
||||
type Po struct {
|
||||
// Storage
|
||||
|
||||
Reference in New Issue
Block a user