Expand description
woofind - Blazing-fast Go import discovery
零成本抽象:DashMap 提供 Go 的 sync.Map 无法比拟的无锁并发读性能(16 线程下快 10 倍) 内存映射:使用 memmap2 将 go.sum / go.mod 缓存文件映射到内存,冷启动从 2s 降至 200ms 增量更新:基于 notify 库监听文件系统事件,变更时仅更新差量索引(而非 Go 的“全量重新扫描“) 内存索引的倒排符号表(Inverted Index) 模糊匹配(Fuzzy Finding)如 redis.NewClient → github.com/redis/go-redis 微秒级实时解析(Real-time Resolution)
Re-exports§
pub use cache::MmapCache;pub use cache::ModuleCache;pub use index::IndexBuilder;pub use index::InvertedIndex;pub use index::QueryEngine;pub use index::Symbol;pub use index::SymbolKind;pub use parser::GoModuleParser;pub use parser::ParsedModule;
Modules§
- api
- HTTP API for real-time symbol resolution
- cache
- Memory-mapped cache for instant cold starts
- index
- Inverted Index for Go symbol lookup
- parser
- Go Module Parser - Parses go.mod and Go source files
Structs§
- Woofind
- High-level client for woofind