🚀 Write Go Like a Senior Engineer → https://levelupgo.dev
Before Go (Golang) 1.26, you couldn't take the address of a literal value. Want to set a pointer field inline? You either created a temp variable or wrote a ptr() helper. Every Go project has one.
Go 1.26 extends the built-in new() function to accept expressions.