package
module
Version:
v0.0.0-...-859fcc2
Opens a new window with list of versions in this module.
Published: Feb 23, 2016
License: BSD-2-Clause-Views
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 7
Opens a new window with list of known importers.
README
¶
Numeronym
This is just a simple library that creates numeronyms (i18n => internationalization).
To install just do a simple go get github.com/juztin/numeronym
To use:
package main
import (
"fmt"
"github.com/juztin/numeronym"
)
func main() {
text := []byte("internationalization")
b := numeronym.Parse(text)
fmt.Println(string(b))
// OUTPUTS:
// i18n
}
Documentation
¶
Parse returns numeronym(s) of the given ASCII bytes.
For example:
"internationalization" => "i18n"
"ab_cdefg" => "ab_c3g"
Source Files
¶
Click to show internal directories.
Click to hide internal directories.