Remove GPS data from images

I have images uploaded to the server and I want to remove GPS data from the images and also if needed some specific meta data from the images could be removed. If there is a way to remove only specific meta data (EXIF data) please mention. I don’t required to remove all the metadata (EXIF data).

So, I always use this GitHub - rwcarlsen/goexif: Decode embedded EXIF meta data from image files. to parse tags from image, exif, but for remove them, I never made this, I think do you have to create another imagem