added a comment for test reasons

This commit is contained in:
Patryk Hegenberg 2024-07-12 12:29:21 +02:00
parent 89071f8d9d
commit 3c95ff7d2f

View file

@ -280,6 +280,7 @@ func processSquareCard(pdf *fpdf.Fpdf, x, y float64, card []string) error {
}
func processImage(pdf *fpdf.Fpdf, imgFile string, x, y, size float64) error {
// adding a comment for test reasons
file, err := os.Open(imgFile)
if err != nil {
return fmt.Errorf("failed to open image file: %w", err)