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