Go JSON unmarshalling for custom types
Unmarshalling turns JSON into Go values. Fix the stack overflow when UnmarshalJSON or MarshalJSON calls itself, with common errors and a test.
Read articleI'm Robin Hallabro-Kokko, a native app developer in Borås, Sweden. I build apps through HK Softworks, using AI as part of my development workflow.
I write about the problems I encounter along the way. Away from the keyboard, I enjoy cycling, books and travel.
Unmarshalling turns JSON into Go values. Fix the stack overflow when UnmarshalJSON or MarshalJSON calls itself, with common errors and a test.
Read articleHetzner can't transfer a load balancer between projects. Within one account I kept its IP: delete it, wait two minutes, recreate it in the same location.
Read articleTroubleshooting SMTP servers with Swaks
Read article