managarten/services/mana-search-go/internal/handler
Till JS d0848ea1b3 test(go-services): add unit tests for mana-search-go and mana-notify-go
mana-search-go (42 tests):
- search: BuildCacheKey, scoreResult, normalizeResults, CacheOptions
- extract: cleanText, countWords, formatTime, BuildCacheKey
- handlers: validation for search/extract/bulk endpoints

mana-notify-go (38 tests):
- handler: validateSendRequest, parseTime, nilIfEmpty, jsonOrNil
- channel: webhook Send with httptest, IsExpoPushToken
- auth: ValidateServiceKey middleware, GetUser context
- template: RenderDirect with variables, conditionals, errors

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 02:33:59 +01:00
..
common.go feat(mana-search): rewrite search service from NestJS to Go 2026-03-27 21:58:40 +01:00
extract.go fix(mana-search): Go best practices hardening 2026-03-27 22:09:31 +01:00
extract_test.go test(go-services): add unit tests for mana-search-go and mana-notify-go 2026-03-28 02:33:59 +01:00
health.go feat(mana-search): rewrite search service from NestJS to Go 2026-03-27 21:58:40 +01:00
helpers_test.go test(go-services): add unit tests for mana-search-go and mana-notify-go 2026-03-28 02:33:59 +01:00
search.go fix(mana-search): Go best practices hardening 2026-03-27 22:09:31 +01:00
search_test.go test(go-services): add unit tests for mana-search-go and mana-notify-go 2026-03-28 02:33:59 +01:00