I have next field DefaultAccountID bson.ObjectId `bson:"default_account_id"`  
Sometimes I have a case when I need to save inside this files valid 
ObjectId but from the other side I need to reset this field to the empty 
value or just remove it or something like this. If I specify emitempty 
property, then first time when I save the empty value inside this file it 
will be ignored thats ok but when this field has a value and I decide to 
reset it I can't do that because of omit empty property. Could someone know 
how to solve this? 

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to