mirror of
https://github.com/SamyRai/tercul-backend.git
synced 2025-12-27 00:31:35 +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
17 lines
284 B
Go
17 lines
284 B
Go
package store
|
|
|
|
// Work represents a work to be processed
|
|
type Work struct {
|
|
ID uint
|
|
Body string
|
|
}
|
|
|
|
// PoeticMetrics represents metrics from poetic analysis
|
|
type PoeticMetrics struct {
|
|
RhymeScheme string
|
|
MeterType string
|
|
StanzaCount int
|
|
LineCount int
|
|
Structure string
|
|
}
|