---
title: "Go 1.16 released"
publication: "Go Weekly"
issue: 350
published_at: "2021-02-19"
canonical_url: "https://golangweekly.com/issues/350"
---

Plus how Go makes JavaScript faster (sort of) and some remote Go jobs. |        

#350 — February 19, 2021 

[Unsubscribe](https://golangweekly.com/leave/*|UID|*)|[Read on the Web](https://golangweekly.com/issues/350)   

Go Weekly 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60/vvkliiaqhfrq9uhoqiot.jpg)](https://blog.golang.org/go1.16)  

[Go 1.16 Released](https://blog.golang.org/go1.16) — A significant release for our favorite language! The [release notes](https://golang.org/doc/go1.16) cover the details but faster and more efficient builds, the use of Go modules by default, macOS Arm64 support, and native file embedding support in executables are the order of the day. 

Matt Pearring and Dmitri Shuralyov   

[A Go Security Cheatsheet: 8 Security Best Practices](https://snyk.io/blog/go-security-cheatsheet-for-go-developers/) — Covers things like the use of modules, reflection, containers, and crypto packages. 

Eric Smalling and Gerred Dillon   [![\](https://copm.s3.amazonaws.com/0f4741bf.png)](https://www.ardanlabs.com/training/?utm_source=Cooperpress%20PrimaryV4) 

[Remote Instructor-Led Go, Docker, Kubernetes, Terraform, & Python Training](https://www.ardanlabs.com/training/?utm_source=Cooperpress%20PrimaryV4) — We offer live-streaming remote training sessions for individual engineers and companies that want to augment their knowledge in Go, Docker, Kubernetes, Terraform, and Python. We’ve trained over 10,000 engineers via our carefully crafted classes. 

Ardan Labs sponsor   

[Block Profiling in Go](https://github.com/felixge/go-profiler-notes/blob/main/block.md) — Block profiling tracks when goroutines are put into a waiting state, so think `select` or `chan receive` but not `time.Sleep` or garbage collection. 

Felix Geisendörfer   

[New Module Changes in Go 1.16](https://blog.golang.org/go116-module-changes) — A key change in Go 1.16 is that module-aware mode is _enabled by default_ even if no `go.mod` is present. This is in preparation for the old `GOPATH` mode being dropped _completely_ in Go 1.17. There are several other changes to take into account, however. 

Jay Conrod     

Quick Bits 

- [GoLand 2021.2 EAP 3](https://blog.jetbrains.com/go/2021/02/12/goland-2021-1-eap-3/) (a preview release of a commercial Go IDE) is out with go:embed support and can also now compile for remote targets.
- `esbuild` is a JavaScript bundler that's rapidly becoming popular and [it credits Go](https://esbuild.github.io/faq/#why-is-esbuild-fast) with why it's faster than the alternatives.   

📘 Tutorials and Stories  

[Generic Functions on Slices with Go Type Parameters](https://eli.thegreenplace.net/2021/generic-functions-on-slices-with-go-type-parameters/) — Cue up the articles on how generics make things better/easier in Go! Here, Eli revisits an older post (which we linked in [issue 349](https://golangweekly.com/issues/349)) to do just that. 

Eli Bendersky   

[Compiling a Gameboy Advance ROM with TinyGo](https://remyhax.xyz/posts/gba-blog/) — Did you know that TinyGo [can target](https://tinygo.org/microcontrollers/gameboy-advance/) the Gameboy Advance? 

Remy Ramium   

[A (Maybe) Unexpected Usage of the `-count` Flag in Go Tests](https://dev.to/mcaci/til-a-maybe-unexpected-usage-of-the-count-flag-in-go-tests-3dip) — `go test -count 3` will run your tests three times, but what about `-count 1`? Once. But it also disables test caching. 

Michele Caci   

[Why Upgrade from Dep to Go Modules](https://www.cockroachlabs.com/blog/dep-go-modules/?utm_campaign=cooperpress-2021-Q1&utm_source=goweekly&utm_medium=sponsor&utm_content=goweekly-sponsored&utm_term=upgrade-go-modules-0219) — We used to use the dep vendoring tool for managing package dependencies - learn how & why we switched to go.mod. 

CockroachDB sponsor   

[Preventing SQL Injections in Go (and Other Vulnerabilities)](https://blog.sqreen.com/preventing-sql-injections-in-go-and-other-vulnerabilities/) — Handle your errors, kids, and use open-source tools to scan your code and projects for vulnerabilities. 

Jonathan Hall   

[How Buffer Pool Works: An Implementation in Go](https://brunocalza.me/how-buffer-pool-works-an-implementation-in-go/) — Exploring how buffer pool management works in databases by building one. 

Bruno Calza   

['My Go Mistakes'](https://henvic.dev/posts/my-go-mistakes/) — We learn more from failure than success, right? So why not share your learnings with other devs? Be like Henrique. 

Henrique Vicente   

▶[Go 1.16's `embed` Package Explained in 5 Minutes](https://www.youtube.com/watch?v=mBNIZHHi5Rg&feature=youtu.be) — If you like to learn things from videos then this is the `embed` content you’ve been waiting for. 

Mathis Van Eetvelde   

[Leveraging the Go Type System](https://www.gopherguides.com/articles/leveraging-the-go-type-system) — A specific example around getting the efficiency of numeric constants with the readability of strings. 

Cory LaNou  

🛠 Code & Tools  

[EGo: A Way to Build 'Confidential' Go Apps for Intel SGX Enclaves](https://www.ego.dev/) — [SGX](https://en.wikipedia.org/wiki/Software_Guard_Extensions) is a set of security oriented instructions on Intel CPUs to manage private regions of memory called ‘enclaves.’ EGo wants to bring all of this to Go developers. Plus it has a cute logo :-) 

Edgeless Systems GmbH   

[Logrus 1.8: A Feature Rich Structured Logger](https://github.com/sirupsen/logrus) — Supports JSON formatting, hooks (for sending certain log entries to external services, say), plus it’s API compatible with the standard library’s logger too, so try dropping it in. 

Simon Eskildsen   

[OpenTelemetry + Go: All You Need to Know - March 3](https://go.lightstep.com/register-opentelemetry-workshop-golang-core.html?utm_campaign=golang&utm_source=cooper&utm_medium=Email) 

Lightstep sponsor   

[pgCenter: Command Line Tool for Observing and Troubleshooting Postgres](https://github.com/lesovsky/pgcenter) — Imagine something like `top` but for Postgres. You can keep your eye on vital statistics and running queries in real time. **Linux only** but written in Go. 

Lesovsky Alexey   

[Dapr 1.0: A Portable, Event-Driven, Runtime for Distributed Apps](https://dapr.io/) — Dapr, an open source project out of Microsoft, provides best practices and building blocks for microservices and is language-agnostic (though it’s [built in Go](https://github.com/dapr/dapr) itself). It also provides bindings for common infrastructure items, such as pub/sub messaging. There’s more detail in the [original announcement blog post from 2019.](https://cloudblogs.microsoft.com/opensource/2019/10/16/announcing-dapr-open-source-project-build-microservice-applications/) 

Microsoft   

[textnote: Simple Tool for Daily Note-Taking from the Command Line](https://github.com/dkaslovsky/textnote) — Supports monthly archiving of notes, as well. 

Daniel Kaslovsky  

💻 Jobs  

[Sr Back-End Software Engineer at Mode (Remote)](https://boards.greenhouse.io/modeanalytics/jobs/2516962?gh_src=2cc739ab1us) — Mode is a powerful analytics platform, turning data into actionable insights in one, central location. To learn more, [apply here.](https://boards.greenhouse.io/modeanalytics/jobs/2516962?gh_src=2cc739ab1us) 

ModeAnalytics   

[Sr. Software Engineer at CrowdStrike (Remote)](https://crowdstrike.wd5.myworkdayjobs.com/en-US/crowdstrikecareers/job/USA---Remote/Sr-Software-Engineer--Remote-_R2875) — CrowdStrike is the leader in cloud-delivered endpoint protection, which helps protect our customers from cybersecurity attacks. 

CrowdStrike   

[Find Your Next Job Through Hired](https://hired.com/join/?utm_source=newsletter&utm_medium=sponsor&utm_campaign=%28b2c%29%28l-all%29%28r-all%29%28cooper-golangweekly%29&utm_content=find-your-next-job) — Create a profile on Hired to connect with hiring managers at growing startups and Fortune 500 companies. It's free for job-seekers. 

Hired         

Curated by [Glenn Goodrich](https://twitter.com/ruprict) and [Peter Cooper](https://twitter.com/peterc). 

[Change your email address](https://golangweekly.com/edit_subscription/*|UID|*) or[Stop getting this newsletter](https://golangweekly.com/leave/*|UID|*) 

© Cooper Press Ltd · Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom
