package
module
Version:
v0.0.0-...-496e9e8
Opens a new window with list of versions in this module.
Published: Sep 26, 2016
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
mbconv - multibyte converter for golang
Installation
go get -u -d github.com/kaneshin/mbconv
Usage
Example
package main
import (
"fmt"
"github.com/kaneshin/mbconv"
)
func main() {
fmt.Println(mbconv.HiraganaToKatakana("ぁあぃいぅうぇえぉおかがきぎく"))
// => ァアィイゥウェエォオカガキギク
fmt.Println(mbconv.KatakanaToHiragana("ァアィイゥウェエォオカガキギク"))
// => ぁあぃいぅうぇえぉおかがきぎく
fmt.Println(mbconv.HalfWidthToFullWidth("Hello World"))
// => Hello World
fmt.Println(mbconv.FullWidthToHalfWidth("Hello World"))
// => Hello World
}
License
The MIT License (MIT)
Author
Shintaro Kaneko kaneshin0120@gmail.com
Documentation
¶
FullWidthToHalfWidth converts string.
HalfWidthToFullWidth converts string.
HiraganaToKatakana converts string.
KatakanaToHiragana converts string.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.