Use a temp file instead of io.ReadAll to avoid buffering the entire Unsplash image in RAM, which could cause OOM with large images or high maxsize configuration. |
||
|---|---|---|
| .. | ||
| db.go | ||
| diagnostics_unix.go | ||
| diagnostics_windows.go | ||
| dump.go | ||
| error.go | ||
| filehandling.go | ||
| files.go | ||
| files_test.go | ||
| main_test.go | ||
| s3_test.go | ||