Fuzzygo
fuzzygo is a fast Go fuzzy-search library built for ranking API names, symbols, and identifiers with typo tolerance and minimal overhead.
Install / Use
/learn @ankit-chaubey/FuzzygoREADME
fuzzygo
fuzzygo is a small, fast Go library for fuzzy string matching and ranking. It is Unicode-safe, typo-tolerant, and designed for searching identifiers like APIs, symbols, and commands.
Install
go get github.com/ankit-chaubey/fuzzygo
Basic Usage
import "github.com/ankit-chaubey/fuzzygo/fuzzy"
results, total := fuzzy.Rank("mesages.getMesage", data, 5)
results→ top ranked matches (best first)total→ total number of matched items
Scoring
score := fuzzy.Score(query, target)
- Returns a positive score for a match
- Returns
-1if the target does not match the query
TL / JSON Helper (optional)
methods, _ := fuzzy.LoadTLMethods("output.json")
results, total := fuzzy.Rank("sndmsg", methods, 10)
License
MIT © Ankit Chaubey
Related Skills
node-connect
328.6kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
80.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
328.6kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
80.9kCommit, push, and open a PR
