...

Source file src/github.com/chai2010/gettext-go/po/doc.go

Documentation: github.com/chai2010/gettext-go/po

     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  /*
     6  Package po provides support for reading and writing GNU PO file.
     7  
     8  Examples:
     9  	import (
    10  		"github.com/chai2010/gettext-go/po"
    11  	)
    12  
    13  	func main() {
    14  		poFile, err := po.LoadFile("test.po")
    15  		if err != nil {
    16  			log.Fatal(err)
    17  		}
    18  		fmt.Printf("%v", poFile)
    19  	}
    20  
    21  The GNU PO file specification is at
    22  http://www.gnu.org/software/gettext/manual/html_node/PO-Files.html.
    23  */
    24  package po
    25  

View as plain text