August 25, 2023 1 min read Define at compile Here's a trick to define constants at compile time in Go Read Tags: #quick #go #golang