Orso Labs
Home
Blog
Filtering for "json"
Remove filter
2022-09-03
Default values in JSON with Golang
How to handle JSON fields with a default value different from the Go zero value (example: a bool with default value true), avoiding the inconveniences of pointers.