~juju-qa/ubuntu/xenial/juju/xenial-2.0-beta3

« back to all changes in this revision

Viewing changes to src/github.com/chai2010/gettext-go/gettext/po/doc.go

  • Committer: Martin Packman
  • Date: 2016-03-30 19:31:08 UTC
  • mfrom: (1.1.41)
  • Revision ID: martin.packman@canonical.com-20160330193108-h9iz3ak334uk0z5r
Merge new upstream source 2.0~beta3

Show diffs side-by-side

added added

removed removed

Lines of Context:
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/gettext/po"
11
 
        )
12
 
 
13
 
        func main() {
14
 
                poFile, err := po.Load("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