I have a use case in which i am able to retreive the S3 file response. Then i read the file content body and unmarshal it to a struct. The response(file i pulled from s3) basically is a json file with multiple fields.
I wanted to check if a saved copy of this file exists, and if so i wanted to pull that file and loop over the json file i just retreived from S3(this file has fields which are empty) so that fields which have answers can be populated. Does someone have any example of doing this in Golang?