Golang and MongoDB – I try to update toggle boolean using golang to mongodb but got object instead
I used to implement todo application using React and Nodejs. The toggle function in React and Nodejs to update Mongodb database as following code: const toggleChecked = ({ _id, isChecked }) => { TasksCollection.update(_id, { $set: { isChecked: !isChecked }…