Lol! Lack of sleep is real... apologies for the horrible keyboard offset below. What I was trying to suggest was to check the case on your ID field. In your struct it is all capitalized. The constant and my guess the dereferenced string is a lower case i with a capital D. Running your code through a debugger at that point might confirm why it isnt falling into your expected area vs my above guess based on the case mismatch of your ahortened example. Good luck! I am sure you will figure it out soon... David
-- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/cfb4e2e8-7616-49a2-92f7-bdcf450b5cdao%40googlegroups.com.