I have this line of code
grids := make([]*gim.Grid, len(images))
That adds images from a set of variables. But to make it work the way i need to I can't have the entire images path in images which would normally be images/01.png, images/01.png, images/01.png but I need to have an easier input for users so I have had to change images to 01 01 01
For this to work I need to change the grids bit into
grids := make([]*gim.Grid, "images/" + len(images) + ".png") but I get this error when trying so.
Any help in how to correctly add "images/" and ".png" would help a lot 🙂