Documentation ¶
Index ¶
Constants ¶
View Source
const ( LangEnglish = "EN" LangKorean = "KR" )
Variables ¶
View Source
var EnglishRuneToMorseMap = map[rune]string{
'a': ".-",
'b': "-...",
'c': "-.-.",
'd': "-..",
'e': ".",
'f': "..-.",
'g': "--.",
'h': "....",
'i': "..",
'j': ".---",
'k': "-.-",
'l': ".-..",
'm': "--",
'n': "-.",
'o': "---",
'p': ".--.",
'q': "--.-",
'r': ".-.",
's': "...",
't': "-",
'u': "..-",
'v': "...-",
'w': ".--",
'x': "-..-",
'y': "-.--",
'z': "--..",
'1': ".----",
'2': "..---",
'3': "...--",
'4': "....-",
'5': ".....",
'6': "-....",
'7': "--...",
'8': "---..",
'9': "----.",
'0': "-----",
'?': "..--..",
'!': "-.-.--",
'.': ".-.-.-",
',': "--..--",
';': "-.-.-.",
':': "---...",
'+': ".-.-.",
'-': "-....-",
'/': "-..-.",
'=': "-...-",
}
Functions ¶
func FromMorseCode ¶
func ToMorseCode ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.