O'Reilly logo
  • pmalmgren-mobiledev thinks this is interesting:

Note how the JSON input with the integer ended up with type float64. This is because JSON doesn’t differentiate between integers and floats, it just has the type “number”. Since Go is unable to infer the expected data type, it defaults to


Cover of Level Up Your Web Apps With Go