[go-nuts] Re: Update Mongodb fields with omitempty flag in Golang structure

2017-11-10 Thread Amandeep Kaur
Thanks @Diego Medina It worked for me. On Thursday, November 9, 2017 at 12:19:14 AM UTC+5:30, Diego Medina wrote: > > replied on the mgo list > > https://groups.google.com/d/topic/mgo-users/F3LbWdyPGDc/discussion > > (pasted here to save a click) > > Hi, > > > the checkbox is unchecked and form

[go-nuts] Re: Update Mongodb fields with omitempty flag in Golang structure

2017-11-08 Thread Diego Medina
replied on the mgo list https://groups.google.com/d/topic/mgo-users/F3LbWdyPGDc/discussion (pasted here to save a click) Hi, > the checkbox is unchecked and form is submitted to save. Now as I have applied "omitempty" if the checkbox is unchecked, your client side code should send "false" t