han

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Overview

Package han contains utility functions for regional issues in Korea.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertFormEUCKR

func ConvertFormEUCKR(rawParsed url.Values) (parsed url.Values, err error)

ConvertFormEUCKR is translate method from euc-kr encoded url.Values to utf-8 encoded url.Values.

func ConvertFormEUCKRFasthttp

func ConvertFormEUCKRFasthttp(rawParsed *fasthttp.Args) (parsed *fasthttp.Args, err error)

ConvertFormEUCKRFasthttp is translate method from euc-kr encoded fasthttp.Args to utf-8 encoded fasthttp.Args.

func ConvertFromEUCKRUrlEncoded

func ConvertFromEUCKRUrlEncoded(str string) (converted string, err error)

ConvertFromEUCKRUrlEncoded is translate method from euc-kr encoded string to utf-8 encoded string.

func ConvertToEUCKRUrlEncoded

func ConvertToEUCKRUrlEncoded(str string) (converted string, err error)

ConvertToEUCKRUrlEncoded is translate method from utf-8 encoded string to euc-kr encoded string.

func KoreanPluralizeSubunit

func KoreanPluralizeSubunit(number int) (out string)

KoreanPluralizeSubunit is a function for translating into Korean after omitting the most significant digit when the most significant digit is 1.

func KoreanPluralizeUnit

func KoreanPluralizeUnit(number int) (out string)

KoreanPluralizeUnit is a function for translating into Korean after omitting the most significant digit when the most significant digit is 1.

func KoreanPluralizeUnitType2

func KoreanPluralizeUnitType2(number int) (out string)

KoreanPluralizeUnitType2 function is a function that translates only each 10,000 units into Korean.

func KoreanPluralizeUnitType3

func KoreanPluralizeUnitType3(number int) (out string)

KoreanPluralizeUnitType3 is a function for translating into Korean.

Types

This section is empty.

Jump to

Keyboard shortcuts

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