Back to Browse

Go Devs: You Can Delete This Code Now

19.8K views
Mar 7, 2026
2:27

🚀 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.

Download

1 formats

Video Formats

360pmp42.6 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Go Devs: You Can Delete This Code Now | NatokHD