krconv

package module
v0.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2023 License: Apache-2.0 Imports: 4 Imported by: 2

README

krconv -- Convert kana-character to roman-alphabet

Convert kana-characters to roman-alphabets (by hepburn romanization)

check vulns lint status GitHub license GitHub release

This package is required Go 1.16 or later.

Migrated repository to github.com/goark/krconv

Import

import "github.com/goark/krconv"

Usage

package krconv_test

import (
	"fmt"

	"github.com/goark/krconv"
)

func ExampleConvert() {
	s := "マツエ テッペイ めっちゃほりでぃ ナンバかげつで まんざい みるんだょっ"
	fmt.Println(krconv.Convert(s))
	//Output:
	//matsue teppei metchahoridei nambakagetsude manzai mirundayotsu
}

Modules Requirement Graph

dependency.png

Documentation

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func Convert

func Convert(s string) string
Example
package main

import (
	"fmt"

	"github.com/goark/krconv"
)

func main() {
	s := "マツエ テッペイ めっちゃほりでぃ ナンバかげつで まんざい みるんだょっ"
	fmt.Println(krconv.Convert(s))
}
Output:

matsue teppei metchahoridei nambakagetsude manzai mirundayotsu

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL