Go 1.25 introduces significant improvements including the synctest package for testing time-dependent code with fake clocks, a major json/v2 package with custom marshalers and performance improvements, container-aware GOMAXPROCS that respects CPU limits in Docker/Kubernetes, an experimental Green Tea garbage collector optimized

19m read timeFrom antonz.org
Post cover image
Table of contents
# Synthetic time for testing# JSON v2# Container-aware GOMAXPROCS# Green Tea garbage collector# CSRF protection# Go wait group, go!# Flight recording# More Root methods# Reflective type assertion# Test attributes and friends# Grouped attributes for logging# Hash cloner# Final thoughts
2 Comments

Sort: