MCPcopy Index your code
hub / github.com/alwindoss/morse

github.com/alwindoss/morse @v1.0.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.0.1 ↗ · + Follow
16 symbols 43 edges 4 files 4 documented · 25% updated 3y agov1.0.1 · 2019-02-23★ 875 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
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))
}

Extension points exported contracts — how you extend this code

Encoder (Interface)
Encoder is an interface that specifies function to Encode [1 implementers]
morse.go
Decoder (Interface)
Decoder is an interface that specifies function to Encode [1 implementers]
morse.go
Hacker (Interface)
Hacker is an interface that composes Encoder and Decoder
morse.go

Core symbols most depended-on inside this repo

NewHacker
called by 4
morse.go
Encode
called by 3
morse.go
Decode
called by 1
morse.go
Encode
called by 0
morse.go
Decode
called by 0
morse.go
init
called by 0
constants.go
main
called by 0
docs/example.go

Shape

Function 8
Method 4
Interface 3
Struct 1

Languages

Go100%

Modules by API surface

morse.go9 symbols
morse_test.go5 symbols
docs/example.go1 symbols
constants.go1 symbols

For agents

$ claude mcp add morse \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page