Given a JSON file of data to be inserted into a table in Postgresql. One of the fields in the JSON structure is a base64 string. I know there is a data type for psql called BYTEA but how would one insert the base64 string in that field.
I also need to then be able to select the base64 string from the table and display the image in the end.
Note: Bonus points for Golang solutions cause the whole app is in Golang