generated from VLADIMIR/template
12 lines
196 B
Go
12 lines
196 B
Go
package config
|
|
|
|
import "os"
|
|
|
|
func GetStoryFilePath() string {
|
|
storyFilename := os.Getenv("STORY_FILENAME")
|
|
if storyFilename != "" {
|
|
return storyFilename
|
|
}
|
|
return "./data/story/story.json"
|
|
}
|