Golang Weekly - Go quirks and intermediate tricks

Plus the Go powered balloon over Europe. |

#​448 — February 17, 2023

Unsub  |  Web Version

Together with  Cockroach Labs logo

The Go Weekly Newsletter

Purego: A Dynamic Way to Call C Functions from Go Without Cgo — No C means you can build for other platforms easily without a target C compiler/toolchain. No wrapper functions either. One of the contributors noted on HN: "It uses the same mechanisms that Cgo does to switch to the system stack and then call the C code. Purego just avoids having to need a C toolchain to cross compile code that calls into C from Go."


Go Quirks and Intermediate Tricks — This isn’t the best formatted post, but you might pick up a few things from this list (which, handily, has code examples for each item).

Efron Licht

Free from O’Reilly: Build Resilient Apps in Go — Learn to build cloud-native, cost-effective, and fault-tolerant applications in this 3-chapter excerpt from O’Reilly’s Cloud Native Go.

CockroachDB sponsor

Rust vs Go in 2023 — A 2023-flavored update to a popular article first released in 2020. John is a fan of both Rust and Go and takes a careful look at where each independently makes the most sense.

John Arundel

🗣 Go May Add Telemetry Reporting That's On by Default — We featured the initial discussion behind this last week, but The Register has decided to run with the story and digested the public opinion a little more. Issues around ‘phoning home’ and privacy are always going to be fierce, but the intent, at least, appears to be good and as Nate Finch says “It’s just Go developers wanting to know how people use their software, so they can make it better. For you. For me. For all of us.”

The Register


Structured Logging with slog — There is a language proposal to add slog to the standard library (GitHub discussion here.) slog has the basic features you’d expect. Still, not everyone is wild about how it handles attributes and custom loggers.

Karan Sharma

▶  ⬆️ Really Simple Structured Logging with Tracing
Kai Hendry

Building a URL Shortener using Go, SQLite and GORMGORM is an ORM library for Go.

Pratim Bhosale

▶  Debugging Concurrent Programs in Go — The audio isn’t great but this is too useful not to link.

Andrii Soldatenko

▶  A Wacky Journey of Building a Vector Database in Go
Etienne Dilocker

🛠 Code & Tools

go-pretty: Pretty Print Tables, Lists and Text on the Terminal — Utilities to prettify console output of tables, lists, progress-bars, text, etc. with a heavy emphasis on customization.

Naveen Mahalingam

gofumpt: A Stricter gofmt — You like rules? gofmt not strict enough? gofumpt has even stricter rules to keep your codebase clean and behaving.

Daniel Martí

Connect to Your Cloud Resources with Tailscale — Spend more time coding and less time troubleshooting with Tailscale. Now you can connect directly to cloud resources, containers, or VMs like they’re on your local network.

Tailscale sponsor

Go-Redis Now an Official Redis Client — A couple of weeks ago we mentioned Go-Redis v9 and how it had moved under the official Redis organization – now we get the full story.

Igor Malinovskyi

  • Noti 3.7
    ↳ Monitor a process and trigger a notification.

  • ZincSearch 0.4
    ↳ Go-powered Elasticsearch alternative.

  • Imagor 1.4
    ↳ libvips-powered image processing server and Go library.

  • q 0.9
    ↳ Command line DNS client with support for UDP, TCP, DoT, DoH, DoQ and ODoH.

  • TinyGo 0.27
    ↳ The Go compiler for small places.


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.

🎈 Up, up, and away.

TinyGlobo: The TinyGo Powered Long Distance Balloon — It seems you don’t need to be a nation state agency to get in on the UFO action nowadays – you could just be a Go developer! Featuring a RP2040 programmed with TinyGo, this balloon sent back data using LoRaWAN long-range radio. ▶️ Here’s a video of the fun.

Ron Evans


Key phrases

Older messages

Should the Go toolchain collect usage data?

Friday, February 10, 2023

Plus using profiling to optimize the Go compiler, Go's famous fan, and getting down to the bits and bytes. | #​447 — February 10, 2023 Unsub | Web Version Together with Retool logo The Go Weekly

The one with Go 1.20

Friday, February 3, 2023

Plus entering the memory arena, a call for speakers, and improving the observability of Go services. | #​446 — February 3, 2023 Unsub | Web Version Together with Tailscale logo The Go Weekly Newsletter

Grab yourself a Go-flavored mocktail

Friday, January 27, 2023

Plus a new Go podcast, a Go powered feed reader, and someone has some Go beefs. | #​445 — January 27, 2023 Unsub | Web Version Together with Ardan Labs The Go Weekly Newsletter Mocktail: A Tasty,

Some problems with integers

Friday, January 20, 2023

Plus it's Go community survey time again, drawing diagrams and graphs, and more on Go 1.20. | #​444 — January 20, 2023 Unsub | Web Version Together with Pangea logo The Go Weekly Newsletter

Block Mirror

Friday, January 20, 2023

Plus Go 1.20 changes, a Go RSS reader, and some other projects worth a look. | #​443 — January 13, 2023 Unsub | Web Version Together with Retool logo The Go Weekly Newsletter What's New in Go 1.20:

Google Bard is surprisingly bad

Thursday, March 23, 2023

TikTok ban bills; $150 earbuds better than AirPods Pro; Best wireless chargers -- ZDNET ZDNET Tech Today - US March 23, 2023 placeholder I tested Google Bard. It was surprisingly bad AI chatbots have

wpMail.me issue#607

Thursday, March 23, 2023

wpMail.me wpMail.me issue#607 - The weekly WordPress newsletter. No spam, no nonsense. - March 23, 2023 Is this email not displaying correctly? View it in your browser. News & Articles What to

Your weekly Notion templates #81

Thursday, March 23, 2023

3 new templates + 1 new feature, just for you 🔥 ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

New Kimsuky Threats Uncovered: Germany & S. Korea Warn of Escalating Danger!

Thursday, March 23, 2023

The Hacker News Daily Updates Newsletter cover The Importance of SBOMs in Protecting the Software Supply Chain Learn how to use SBOMs to better track and fix known and newly emerging vulnerabilities to

TikTok CEO says its owner is 'not an agent of China’

Thursday, March 23, 2023

The Morning After Now available on your smart speaker and wherever you get your podcasts Apple Podcasts | Spotify | Google Podcasts It's Thursday, March 23, 2023. TikTok CEO Shou Chew is preparing

What to Look For in a VPN Service Provider

Thursday, March 23, 2023

Read in Browser Logo for Review Geek March 23, 2023 If you've been on the internet for the past few years, you've likely seen an ad for a VPN. These services promise to prevent your internet

Post from Syncfusion Blogs on 03/23/2023

Thursday, March 23, 2023

New blogs from Syncfusion Easily Visualize Online Maps in Your .NET MAUI Apps setTimeout and setInterval Uses and Limitations in Modern Browsers More from the Syncfusion Ecosystem Bold Reports:

PHPWeekly March 23rd 2023

Thursday, March 23, 2023

Curated news all about PHP. Here's the latest edition Is this email not displaying correctly? View it in your browser. PHP Weekly 23rd March 2023 Hi everyone, We have a lot in store in this

Mozilla's open AI project 🤖, GitHub Copilot upgrades 👨‍💻, TikTok fights ban 📱

Thursday, March 23, 2023

Mozilla has launched a new AI-focused startup called Mozilla.ai. Sign Up|Jobs|Advertise|View Online TLDR Daily Update 2023-03-23 📱 Big Tech & Startups Shou Zi Chew's 'death wish'

LLaMA is Meta AI's New LLM that Matchest GPT-3.5 Across Many Tasks Despite Being Quite Smaller

Thursday, March 23, 2023

The model is significatively smaller than GPT-3.5 but matches its performance on many important LLM benchmarks. ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌