Update embedded field in MongoDB using Golang

Hi @Vibhor_Dubey,

Can you share what is actually happening when you run your code and what the expected result is? Right now you’ve posted your code, which is great, but I don’t know if you’re receiving errors, documents are silently not updating, or documents are updating with the wrong information, or something else.

The more details into the actual problem, the easier it will be to find a solution :slight_smile:

Best,

1 Like