Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.25 KB

README.md

File metadata and controls

46 lines (33 loc) · 1.25 KB

kkconv -- Hiragana-Katakana Conversion

check vulns lint status GitHub license GitHub release

This package is required Go 1.16 or later.

Migrated repository to github.com/goark/kkconv

Import package

import "github.com/goark/kkconv"

Usage

import (
    "fmt"

    "github.com/goark/kkconv"
)

func ExampleHiragana() {
    txt := "こんにちは セカイ"
    fmt.Println(kkconv.Hiragana(txt, true))
    // Output:
    // こんにちは せかい
}

func ExampleKatakana() {
    txt := "こんにちは セカイ"
    fmt.Println(kkconv.Katakana(txt, true))
    // Output:
    // コンニチハ セカイ
}

Modules Requirement Graph

dependency.png