zlacker
[parent]
[thread]
0 comments
1. lowmag+(OP)
[view]
[source]
2025-08-22 12:34:37
You can start a new scope with `{}` in go. If I have a bunch of temp vars I'll declare the final result outside the braces and then do the work inside. But lately days I'll just write a function. It's clearer and easier to test.
[go to top]