feat: all tests

This commit is contained in:
verse91
2026-05-09 23:18:08 +07:00
parent be3c08171b
commit 17f33ff480
16 changed files with 460 additions and 43 deletions
+3 -3
View File
@@ -37,10 +37,10 @@ type Suggestion struct {
Icon string
}
var registry = map[string]*Spec{}
var Registry = map[string]*Spec{}
// Register adds a new spec to the global registry
// Register adds a new spec to the global Registry
// example: Register(&Spec{Name: "git"})
func Register(s *Spec) {
registry[s.Name] = s
Registry[s.Name] = s
}