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."

Ebitengine

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

IN BRIEF:

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.

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

🎈 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

n

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:

You Might Also Like

A deal made in cloud security heaven

Thursday, April 18, 2024

Meta's Llama 3 goes public and hackers hold World-Check data for ransom View this email online in your browser By Christine Hall Thursday, April 18, 2024 Welcome to TechCrunch PM! I'm glad you

💎 Issue 413 - RubyJS-Vite

Thursday, April 18, 2024

This week's Awesome Ruby Newsletter Read this email on the Web The Awesome Ruby Newsletter Issue » 413 Release Date Apr 18, 2024 Your weekly report of the most popular Ruby news, articles and

💻 Issue 406 - Swift for C++ Practitioners, Part 1

Thursday, April 18, 2024

This week's Awesome .NET Weekly Read this email on the Web The Awesome .NET Weekly Issue » 406 Release Date Apr 18, 2024 Your weekly report of the most popular .NET news, articles and projects

💻 Issue 413 - How to implement HLS Video Streaming in a React App

Thursday, April 18, 2024

This week's Awesome Node.js Weekly Read this email on the Web The Awesome Node.js Weekly Issue » 413 Release Date Apr 18, 2024 Your weekly report of the most popular Node.js news, articles and

📱 Issue 407 - Textual Healing: iOS Text Editing Minutiae

Thursday, April 18, 2024

This week's Awesome iOS Weekly Read this email on the Web The Awesome iOS Weekly Issue » 407 Release Date Apr 18, 2024 Your weekly report of the most popular iOS news, articles and projects Popular

💻 Issue 413 - Interview with Senior JavaScript Developer 2024 [video]

Thursday, April 18, 2024

This week's Awesome JavaScript Weekly Read this email on the Web The Awesome JavaScript Weekly Issue » 413 Release Date Apr 18, 2024 Your weekly report of the most popular JavaScript news, articles

💻 Issue 331 - 30+ app ideas with complete source code

Thursday, April 18, 2024

This week's Awesome React Weekly Read this email on the Web The Awesome React Weekly Issue » 331 Release Date Apr 18, 2024 Your weekly report of the most popular React news, articles and projects

💻 Issue 408 - Curl: Hyper, is it worth it?

Thursday, April 18, 2024

This week's Awesome Rust Weekly Read this email on the Web The Awesome Rust Weekly Issue » 408 Release Date Apr 18, 2024 Your weekly report of the most popular Rust news, articles and projects

📱 Issue 410 - Swift for C++ Practitioners, Part 1

Thursday, April 18, 2024

This week's Awesome Swift Weekly Read this email on the Web The Awesome Swift Weekly Issue » 410 Release Date Apr 18, 2024 Your weekly report of the most popular Swift news, articles and projects

🤷🏻‍♂️ What to Do When Windows Won't Boot — How to Try the Android 15 Beta

Thursday, April 18, 2024

Also: We Tried a Small AI Voice Recorder, and More! How-To Geek Logo April 18, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to your inbox by