Popularity
3.7
Growing
Activity
0.0
Stable
61
2
10

Programming language: Go
Tags: Miscellaneous     Strings    
Latest version: v1.0.1

morse alternatives and similar packages

Based on the "Strings" category

Do you think we are missing an alternative of morse or a related project?

Add another 'Strings' Package

README

morse

Go Report Card CircleCI codecov Documentation License

Morse Code Library in Go

Download and Use

go get -u -v github.com/alwindoss/morse

or

dep ensure -add github.com/alwindoss/morse

Sample Usage

package main

import (
    "fmt"
    "strings"

    "github.com/alwindoss/morse"
)

func main() {
    h := morse.NewHacker()
    morseCode, err := h.Encode(strings.NewReader("Convert this to Morse"))
    if err != nil {
        return
    }
    // Morse Code is: -.-. --- ...- . .-. - / - .... .. ... / - --- / -- --- .-. ... .
    fmt.Printf("Morse Code is: %s\n", string(morseCode))
}


*Note that all licence references and agreements mentioned in the morse README section above are relevant to that project's source code only.