#​450 — March 3, 2023

Unsub  |  Web Version

Together with  Tailscale logo

The Go Weekly Newsletter

Opting In to Transparent Telemetry in Go — A debate around adding telemetry to the Go toolchain has been rolling for the past few weeks. Now there’s a new development: “By far the most common suggestion was to make the system opt-in (default off) instead of opt-out (default on). I have revised the design to do that.” There are some downsides to that, of course.

Russ Cox

Service Weaver: Google's Framework for Writing Distributed Go Apps — A new open-source framework from Google that lets you “write your (Go) application as a modular monolith and deploy it as a set of microservices” to get the best of both worlds, namely: “the development velocity of a monolith, with the scalability, security, and fault-tolerance of microservices.” If you fancy something more technical and less salesy, Robert Grandl has a quick introduction here.

Google Open Source

Review Changes Made to Your Tailscale Network — Staying on top of what’s happening in your network is easier than ever with Tailscale’s configuration audit logs, which let admins review changes made to your Tailscale network, such as added devices, updated ACLs, or new DNS settings.

Tailscale sponsor

A Beginner's Guide to Creating a Webapp with Ent — A practical introduction to using Ent, an open-source entity framework for Go for modelling and querying data, by way of building a simple content management system.

Rotem Tamir

Uber's Go Style Guide — Want to know how a large Go organization writes Go? Take a ride with this guide that covers guidelines, some performance issues, and stylistic concerns.

Uber

IN BRIEF:

From Go on EC2 to Fly.io: More Fun, Less Cost? — Ben talks about switching a couple of side projects from an EC2 instance to up and coming no-ops platform Fly, and how he resolved some sticking points like running background jobs in Go without cron.

Ben Hoyt

Unlocking the Power of Zero Knowledge Proofs with Gnarkgnark is a library for creating zkSNARK (Zero-Knowledge Succinct Non-Interactive Argument of Knowledge) zero knowledge proof applications.

Farhan

Try Temporal 101 in Go — In this beginner’s course, you’ll learn the basic building blocks of Temporal to develop an app that communicates with an external service.

Temporal Technologies sponsor

Build Your Own Database From Scratch — A book that’s still under development that uses Go but is language agnostic. A few chapters are ready to read, including on implementing B-trees in Go.

James Smith

Why to Defer Your Mutex Unlocks — One for the best practice list?
Emir Ribic

Import Leads From Google Forms Into Your CRM with OpenFaaS
Alex Ellis

🛠 Code & Tools

Gluon: A High-Performance IMAP (Server-Side) Library — This is aimed at mail system implementers and server-side IMAP management, but this post digs into the details about why that’s a tricky thing to build and how Proton, the folks behind the privacy-first email platform Proton Mail, pulled it off. GitHub repo.

Proton

✉️ You've Got Mail: If you'd prefer a complete 'out of the box' mail server experience with a Go-powered system, check out Mox which implements SMTP, IMAP4, and numerous email specs in a single open source mail server.

algnhsa 1.0: AWS Lambda net/http Server Adapter — Enables running Go webapps on AWS Lambda and API Gateway/ALB without changing existing HTTP handlers.

Artem Krylysov

Tuple, a Lightning-Fast Pairing Tool Built for Remote Developers — High-resolution, crystal-clear screen sharing, low-latency remote control, and less CPU usage than you'd think possible.

Tuple sponsor

Graph 0.16: Generic Library for Creating Graph Data Structures — Supports different kinds of graphs such as directed graphs, acyclic graphs, or trees. This week’s 0.16.0 release adds support for integrating storage backends of your choice by implementing a Store interface.

Dominik Braun

PNGR: Dockerized (Postgres + Nginx + Go + React) — Starter kit for a webapp that includes user and session management, JWT authentication, and a basic CRUD example.

Karl Keefer

Find Your Total Build Minutes with GitHub Actions and Go

Alex Ellis

Jobs

Site Reliability Engineer — Join our "kick ass" team. Our software team operates from 17 countries and we're always looking for more exceptional engineers.
Sticker Mule

Find a Job Through Hired — Hired makes job hunting easy-instead of chasing recruiters, companies approach you with salary details up front. Create a free profile now.
Hired

🧑‍💻 Got a job listing to share? Here's how.

  • pdfcpu 0.4
    ↳ PDF processing library. (Great logo!)

  • conc 0.3
    ↳ Better structured concurrency for Go.

  • Render 1.6
    ↳ Easily render JSON, XML, HTML & more.

  • Macaron 1.5
    ↳ Modular Web framework.

  • Miller 6.7
    ↳ Swiss army knife for name-indexed data.

  • Buf CLI 1.15
    ↳ Tool for working with Protocol Buffers.

  • go-git 5.6
    ↳ Extensible pure Go Git implementation.