That's such an elegant solution.
I keep being impressed at subtle but meaningful things that Go does right.