generated from VLADIMIR/template
add test story
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package config
|
||||
|
||||
import "os"
|
||||
|
||||
func GetStoryFilePath() string {
|
||||
storyFilename := os.Getenv("STORY_FILENAME")
|
||||
if storyFilename != "" {
|
||||
return storyFilename
|
||||
}
|
||||
return "./data/story/story.json"
|
||||
}
|
||||
Reference in New Issue
Block a user