Versions in this module Expand all Collapse all v1 v1.0.1 Mar 10, 2020 v1.0.0 Mar 10, 2020 Changes in this version + const EotSeparator + const MoHeaderSize + const MoMagicBigEndian + const MoMagicLittleEndian + const NulSeparator + type File struct + HashOffset uint32 + HashSize uint32 + MagicNumber uint32 + MajorVersion uint16 + Messages []Message + MimeHeader Header + MinorVersion uint16 + MsgIdCount uint32 + MsgIdOffset uint32 + MsgStrOffset uint32 + func Load(name string) (*File, error) + func LoadData(data []byte) (*File, error) + func (f *File) Data() []byte + func (f *File) Save(name string) error + func (f *File) String() string + type Header struct + ContentTransferEncoding string + ContentType string + Language string + LanguageTeam string + LastTranslator string + MimeVersion string + PORevisionDate string + POTCreationDate string + PluralForms string + ProjectIdVersion string + ReportMsgidBugsTo string + UnknowFields map[string]string + XGenerator string + func (p Header) String() string + type Message struct + MsgContext string + MsgId string + MsgIdPlural string + MsgStr string + MsgStrPlural []string + func (p Message) String() string