Go JSON unmarshalling for custom types
Fix the stack overflow when a Go UnmarshalJSON or MarshalJSON method calls json.Unmarshal on its own type: convert to a temporary type to break the loop.
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.
Fix the stack overflow when a Go UnmarshalJSON or MarshalJSON method calls json.Unmarshal on its own type: convert to a temporary type to break the loop.
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