Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
encoding/json: MarshalJSON not called in value contexts for integer types #23263
This behavior is counterintuitive and requires bookkeeping to figure out which types are in a value context under which circumstances.
What version of Go are you using (