| 12 | var Config config |
| 13 | |
| 14 | type config struct { |
| 15 | InputPath string `default:"input/friends.json"` |
| 16 | OutputJsonPath string `default:"output/friends.json"` |
| 17 | OutputMarkdownPath string `default:"output/friends.md"` |
| 18 | TemplatePath string `default:"template/template.md"` |
| 19 | NumOutputPost int `default:"20"` |
| 20 | ContentLength int `default:"200"` |
| 21 | } |
| 22 | |
| 23 | // Get configs from ENV, you set them in GitHub Actions Workflow |
| 24 | func init() { |
nothing calls this directly
no outgoing calls
no test coverage detected