package
module
Version:
v0.0.0-...-f81bb4a
Opens a new window with list of versions in this module.
Published: Dec 29, 2018
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
README
¶
DEPRECATED: Use https://github.com/altipla-consulting/libs instead.
![Build Status](https://travis-ci.org/altipla-consulting/messageformat.svg?branch=master)
Simplified MessageFormat Go implementation.
Install
go get github.com/altipla-consulting/messageformat
This library does not have dependencies outside the standard library.
Contributing
You can make pull requests or create issues in GitHub. Any code you send should be formatted using gofmt
.
Running tests
Run the tests
make test
License
MIT License
Documentation
¶
type MessageFormat struct {
}
MessageFormat instance containing a message that can be formatted.
New parses the message using the MessageFormat specification.
Format the message to replace the params and select the plurals and genders.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.