Skip to content

Commit

Permalink
Only use omitempty for XML lists.
Browse files Browse the repository at this point in the history
Otherwise, because of golang/go#5452, we can't encode zero values at all.

So until that's fixed, you're stuck being unable to use default values in most requests.
  • Loading branch information
stripecodahale committed Dec 20, 2014
1 parent b41eb0d commit d3f7b74
Show file tree
Hide file tree
Showing 4 changed files with 507 additions and 506 deletions.
Loading

0 comments on commit d3f7b74

Please sign in to comment.