kevinanielsen / go-fast-cdn

A fast and easy-to-use CDN, built with Go.
https://kevinanielsen.github.io/go-fast-cdn/
MIT License
107 stars 23 forks source link

refactor: validating if file already or image exists #123

Closed Caixetadev closed 5 months ago

Caixetadev commented 5 months ago

In this pr I created a new method in the database to search for an image or document by checksum and added a validation to check if the file already exists in the database