<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/sources/golang/best-of/2023" -->

---
title: Best Go posts of 2023 | daily.dev
description: The most upvoted Go posts of 2023, curated by the daily.dev community.
canonical: https://daily.dev/sources/golang/best-of/2023
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:url: https://daily.dev/sources/golang/best-of/2023
og:type: website
og:site_name: daily.dev
og:title: Best Go posts of 2023 | daily.dev
og:description: The most upvoted Go posts of 2023, curated by the daily.dev community.
og:image: https://media.daily.dev/image/upload/s--VAY5ToZt--/f_auto/v1724209435/public/daily.dev%20-%20open%20graph
---

# Best of Go — 2023

1. 1  
[](/posts/fixing-for-loops-in-go-1-22-hgfvk40vt "Fixing For Loops in Go 1.22")  
[![golang's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/f416aeab0a1f4b9faa22d93768c97905)](/sources/[source]/best-of/[year])  
5m read time • Sep 19, 2023  
### Fixing For Loops in Go 1.22  
Fixing For Loops in Go 1.22.21 includes a preview of a change to loop scoping that we plan to ship in Go1.22\. The change will fix the examples above, so that they are no longer buggy Go programs; it will end the production problems caused by such mistakes.

+1  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/39b837b91d435ac673a1daa7b32a05fa?_a=AQAEufR)  
40
2. 2  
[](/posts/go-1-20-is-released--hzd31vbry "Go 1.20 is released!")  
[![golang's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/f416aeab0a1f4b9faa22d93768c97905)](/sources/[source]/best-of/[year])  
4m read time • Feb 01, 2023  
### Go 1.20 is released!  
Go 1.20 is a preview release of PGO support. It includes a handful of language changes, many improvements to tooling and the library. The new package provides explicit support for Elliptic Curve Diffie-Hellman key exchanges over NIST curves and Curve25519.

+1  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/f829aa0ab201280ea5d38af377fd5155)  
26
3. 3  
[](/posts/go-1-21-is-released--uowse1gsj "Go 1.21 is released!")  
[![golang's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/f416aeab0a1f4b9faa22d93768c97905)](/sources/[source]/best-of/[year])  
2m read time • Aug 08, 2023  
### Go 1.21 is released!  
Go 1.21 comes with a preview of the Profile Guided Optimization (PGO) feature we announced for preview in 1.20 is now generally available! If a file named is present in the main package’s directory, the command will use it to enable a PGO build.

+1  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/39b837b91d435ac673a1daa7b32a05fa?_a=AQAEufR)  
16
4. 4  
[](/posts/finding-unreachable-functions-with-deadcode-x4rd9ghbt "Finding unreachable functions with deadcode")  
[![golang's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/f416aeab0a1f4b9faa22d93768c97905)](/sources/[source]/best-of/[year])  
6m read time • Dec 12, 2023  
### Finding unreachable functions with deadcode  
The deadcode tool is a helpful tool for identifying and removing unreachable functions in Go programs. It uses Rapid Type Analysis (RTA) to determine which functions are reachable and provides information on why certain functions are live. However, the tool's analysis may not capture all unreachable functions and may not be aware of functions called exclusively from assembly code.

+1  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/39b837b91d435ac673a1daa7b32a05fa?_a=AQAEufR)  
11
5. 5  
[](/posts/fourteen-years-of-go-cclohakky "Fourteen Years of Go")  
[![golang's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/f416aeab0a1f4b9faa22d93768c97905)](/sources/[source]/best-of/[year])  
4m read time • Nov 10, 2023  
### Fourteen Years of Go  
Go celebrates its fourteenth birthday with two feature-filled releases, profile-guided optimization (PGO), and important milestones. The language has improved its compatibility, introduced toolchain management, and added new packages such as log/slog. It continues to refine generics and focuses on making Go the best environment for software engineering at scale. The Go community and contributors have played a significant role in making Go what it is today.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/39b837b91d435ac673a1daa7b32a05fa?_a=AQAEufR)  
11

[See all Go archives](/sources/golang/best-of)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@graph":[{"@type":"CollectionPage","@id":"https://daily.dev/sources/golang/best-of/2023#page","url":"https://daily.dev/sources/golang/best-of/2023","name":"Best Go Posts of 2023","description":"The most upvoted Go posts of 2023, curated by the daily.dev community.","isPartOf":{"@type":"WebSite","url":"https://daily.dev"}},{"@type":"ItemList","@id":"https://daily.dev/sources/golang/best-of/2023#items","numberOfItems":5,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/fixing-for-loops-in-go-1-22-hgfvk40vt","name":"Fixing For Loops in Go 1.22"},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/go-1-20-is-released--hzd31vbry","name":"Go 1.20 is released!"},{"@type":"ListItem","position":3,"url":"https://daily.dev/posts/go-1-21-is-released--uowse1gsj","name":"Go 1.21 is released!"},{"@type":"ListItem","position":4,"url":"https://daily.dev/posts/finding-unreachable-functions-with-deadcode-x4rd9ghbt","name":"Finding unreachable functions with deadcode"},{"@type":"ListItem","position":5,"url":"https://daily.dev/posts/fourteen-years-of-go-cclohakky","name":"Fourteen Years of Go"}]},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Sources","item":"https://daily.dev/sources"},{"@type":"ListItem","position":3,"name":"Go","item":"https://daily.dev/sources/golang"},{"@type":"ListItem","position":4,"name":"Best of","item":"https://daily.dev/sources/golang/best-of"},{"@type":"ListItem","position":5,"name":"2023"}]}]}
```

