Skip Navigation
LibreByte @lemmy.ml

No temp variables needed for pointers in Go 1.26

No temp variables needed for pointers in Go 1.26 | pawelgrzybek.com

Go 1.26 makes pointer creation a lot easier by allowing an expression as an argument. This little change can reduce a ton of boilerplate in your codebase.

Comments

0