Merge pull request #55 from m90/patch-1
Fix arg type in docstring for (*Po).Parse
This commit is contained in:
commit
5e27e8b5e0
1 changed files with 1 additions and 1 deletions
2
po.go
2
po.go
|
@ -126,7 +126,7 @@ func (po *Po) ParseFile(f string) {
|
|||
po.Parse(data)
|
||||
}
|
||||
|
||||
// Parse loads the translations specified in the provided string (str)
|
||||
// Parse loads the translations specified in the provided byte slice (buf)
|
||||
func (po *Po) Parse(buf []byte) {
|
||||
if po.domain == nil {
|
||||
panic("NewPo() was not used to instantiate this object")
|
||||
|
|
Loading…
Reference in a new issue