4d55f233d0
Instead of Caching by maintaining a cache file as mentioned here https://github.com/aditya-K2/goMP/issues/14#issuecomment-989141798 We can directly check if the file exists if it exists then we can just pass the path to it else we can copy the default image to the path of the imagePath |
||
---|---|---|
.. | ||
testdata | ||
cache_test.go | ||
cache.go |