Build RESTful API service in golang using gin-gonic framework
Saddam H

a very nice tutorial for beginners.

However there is a bug in the code for the update — it does not update the completed field.

I needed to add this to the update method — completed, _ := strconv.Atoi(c.PostForm(“completed”))

and now it works. Hence you might want to update the code.

But thanks a lot for sharing this.

Like what you read? Give Sagar Jadhav a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.