doc.go 563 B

12345678910111213141516171819202122232425
  1. // Copyright 2013 ChaiShushan <chaishushan{AT}gmail.com>. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. /*
  5. Package po provides support for reading and writing GNU PO file.
  6. Examples:
  7. import (
  8. "github.com/chai2010/gettext-go/gettext/po"
  9. )
  10. func main() {
  11. poFile, err := po.Load("test.po")
  12. if err != nil {
  13. log.Fatal(err)
  14. }
  15. fmt.Printf("%v", poFile)
  16. }
  17. The GNU PO file specification is at
  18. http://www.gnu.org/software/gettext/manual/html_node/PO-Files.html.
  19. */
  20. package po