add test story

This commit is contained in:
2025-06-14 21:28:46 +07:00
parent 77854681a0
commit 3a2980e9d0
7 changed files with 50 additions and 5 deletions
+4 -1
View File
@@ -3,6 +3,7 @@ package main
import (
"context"
"evening_detective/internal/app"
"evening_detective/internal/config"
"evening_detective/internal/services"
"evening_detective/internal/services/story_service"
proto "evening_detective/proto"
@@ -30,7 +31,9 @@ func main() {
if err != nil {
panic(err)
}
storyService, err := story_service.NewStoryService()
storyFilepath := config.GetStoryFilePath()
storyService, err := story_service.NewStoryService(storyFilepath)
if err != nil {
log.Fatalln(err)
}