HiIm parsing a JSON string (the post from GitHubs WebHooks) into a data structure and every json field that has an underscore in the name is returned with zero value. This applies to bools (to false), ints (to 0) and structures (which become uninitialized). Everything else is parsed.
Im using tags (e.g. "`json:pushed_at`") to name all fields.Is this known behaviour?cheers,mg
--
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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--