Hacker News new | ask | show | jobs
by Roboprog 2604 days ago
Alternative solution: put the if/else block in an “IIFE” (which Go supports, just like JavaScript) and change the assignments to returns.