mirror of
https://github.com/SamyRai/tercul-backend.git
synced 2025-12-27 05:11:34 +00:00
- Core Go application with GraphQL API using gqlgen - Comprehensive data models for literary works, authors, translations - Repository pattern with caching layer - Authentication and authorization system - Linguistics analysis capabilities with multiple adapters - Vector search integration with Weaviate - Docker containerization support - Python data migration and analysis scripts - Clean architecture with proper separation of concerns - Production-ready configuration and middleware - Proper .gitignore excluding vendor/, database files, and build artifacts
16 lines
345 B
Go
16 lines
345 B
Go
package linguistics
|
|
|
|
import (
|
|
"testing"
|
|
"github.com/stretchr/testify/require"
|
|
)
|
|
|
|
func TestFactory_WiresProviders(t *testing.T) {
|
|
// We won't spin a DB/cache here; this is a smoke test of wiring methods
|
|
f := NewLinguisticsFactory(nil, nil, 2, true)
|
|
ta := f.GetTextAnalyzer().(*BasicTextAnalyzer)
|
|
require.NotNil(t, ta)
|
|
}
|
|
|
|
|