()
| 37 | ) |
| 38 | |
| 39 | func init() { |
| 40 | if _, err := os.Stat(readingTimeCacheDir); err != nil { |
| 41 | err = os.MkdirAll(readingTimeCacheDir, os.ModePerm) |
| 42 | if err != nil { |
| 43 | panic(err) |
| 44 | } |
| 45 | } |
| 46 | } |
| 47 | |
| 48 | func NewReadingTime() *ReadingTime { |
| 49 | return &ReadingTime{} |
nothing calls this directly
no outgoing calls
no test coverage detected