The objectid is always unique and unpredictable. I want that, this var should take value of primitive.NewObjectID.Hex()
var mockData = `{"status":201,"message":"User Created Successfully!","data":{"data":"{"InsertedID":primitive.NewObjectID().Hex()}"}}`
But writing it like this gives me a straight string in output.