Golang Weekly - Let's get patching

Plus Google promotes PGO, Go 1.22.5 lands, and the latest library releases. |

#​514 — July 9, 2024

Unsub  |  Web Version

Together with  Frontend Masters logo

Go Weekly

Locally Patching Dependencies in Go — When you want to temporarily modify the code of a dependency (say, with a log statement or small change), go mod makes it super simple. There are also some tools and other approaches to consider.

Eli Bendersky

Using Go to Send 500 Million HTTP Requests to 2.5 Million Hosts — Dawid leant on Go’s powerful concurrency features to speed up the mammoth task of sending 500 million HTTP requests quickly, but had to poke around a little to do it. As ever, use this knowledge for good, not evil :-)

Dawid Moczadło

Build Go Apps That Scale on AWS — Learn how to build and deploy scalable applications to AWS using Go. This detailed video course will cover AWS Lambda, DynamoDB, API Gateway, JSON Web Tokens, and more.

Frontend Masters sponsor

Using Profile-Guided Optimization (PGO) for Go Apps — We’ve featured many case studies of the improvements teams have seen when using PGO recently – here’s Google’s high level take on getting started yourself before you dig into the docs.

Cameron Balahan and James Ma

IN BRIEF:

📄 Resetting Timers in Go“If you use Timer.Reset() in Go 1.22 or earlier, you may be doing it wrong.” Anton Zhiyanov

📄 Compile Go Directly to WebAssembly Components with TinyGo and WASI P2 Eric Gregory (wasmCloud)

📄 Error Handling in Go Web Apps Shouldn't Be So Awkward – A useful error handling pattern for REST, gRPC, and other services. Jonathan Hall

📄 Know When to Break Up with Go's http.DefaultClient Vishnu Bharathi

📄 Automating Image Metadata Extraction with AWS Lambda, Go, and Postgres Hüseyin BABAL

📄 Contextualizing the Go Context API: Program Scopes Matt T. Proud

📄 How to Implement OAuth 2.0 into a Go App Permify

📰 Classifieds

Want to kill meetings? We’re looking for software engineering leaders to join the beta for a product aiming to do just that. Apply here.

🛠 Code & Tools

Giu 0.8: A Dear ImGui-Based Cross Platform GUI Framework — Another way to create GUI apps in Go. Dear ImGui is an interesting GUI library (for C++) that generates UIs aimed at power users in particular.

Allen Dang

CxGo: A Tool for Transpiling C to Go — There’s an online demo if you want to see a basic example of what goes in and comes out.

Go Transpile

Stop Worrying About Your Auth. Let FusionAuth Handle It — Flexible deployment. Advanced features like MFA, SSO, and more. Check out the Go SDK.

FusionAuth sponsor

💡 OpenHue Go: Interact with Philips Hue Smart Lighting — Philips’ range of Hue smart lights are pretty neat (I’ve had a few!) and if, for some reason, you’d like to fiddle with your lights from Go code, now there’s a way.

OpenHue Project

Joker 1.4: A Small Interpreted Dialect of Clojure Written in Go — A small interpreter, linter and formatter for the popular Lisp dialect. GitHub repo.

Roman Bataev

Ergo 2.14: A Modern IRC Server/ircd — Formerly known as Oragono, this is a Go-powered IRCv3-compatible chat server that continues to get frequent upgrades as a very mature project.

Lingamneni, Oaks, Huber, Latt, et al.

CoreDNS: A DNS and Service Discovery Server — A DNS server built in Go that supports a variety of plugins, is a CNCF graduated project, and can integrate with Kubernetes and numerous cloud providers, should you need it.

CoreDNS Authors

OmniParser: A Go-Powered ETL System — Ingest CSV, XML, JSON, EDIFACT, X12, and more, in a streaming fashion, and transform it into JSON based upon a schema itself written in JSON.

JF Technology

  • gocron 2.8 – Run Go functions at pre-determined intervals.

  • Go Micro 5.3 – Popular Go microservices framework.

  • River 0.9 – Fast and reliable background jobs in Go.

  • go-arg 1.5 – Struct-based argument parsing.

n

Older messages

Writing generic collection types

Tuesday, July 2, 2024

Plus Russ Cox's new bot, using Go from JavaScript, and the River job queue gets a UI. | #​513 — July 2, 2024 Unsub | Web Version Together with Ardan Labs Go Weekly Writing Generic Collection Types:

Go 1.23 gets another step closer

Tuesday, June 25, 2024

Plus making a regex engine in Go, how to think about channels, and Bleve gets vector support. | #​512 — June 25, 2024 Unsub | Web Version ✈️ I've produced this issue a day early due to being en-

A quick Go quiz

Tuesday, June 18, 2024

Plus debates about Go 1.23 iterators, anti-patterns, and another Go web framework. | #​511 — June 18, 2024 Unsub | Web Version Together with Dragonfly Go Weekly Why People are 'Angry' Over Go

Errors, errors, and errors again

Tuesday, June 11, 2024

Plus another success story for profile-guided optimization. | #​510 — June 11, 2024 Unsub | Web Version Together with Frontend Masters logo Go Weekly An Applied Introduction to eBPF with Go — eBPF is a

Generating Go boilerplate from OpenAPI specs

Tuesday, June 4, 2024

Plus a look at some Go alternatives to using Makefiles. | #​509 — June 4, 2024 Unsub | Web Version 🫣 We took a break last week, but forgot to notify you in advance - sorry! You didn't miss anything

You Might Also Like

Master the New Elasticsearch Engineer v8.x Enhancements!

Tuesday, March 4, 2025

Need Help? Join the Discussion Now! ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ elastic | Search. Observe. Protect Master Search and Analytics feb 24 header See

Daily Coding Problem: Problem #1707 [Medium]

Monday, March 3, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. In chess, the Elo rating system is used to calculate player strengths based on

Simplification Takes Courage & Perplexity introduces Comet

Monday, March 3, 2025

Elicit raises $22M Series A, Perplexity is working on an AI-powered browser, developing taste, and more in this week's issue of Creativerly. Creativerly Simplification Takes Courage &

Mapped | Which Countries Are Perceived as the Most Corrupt? 🌎

Monday, March 3, 2025

In this map, we visualize the Corruption Perceptions Index Score for countries around the world. View Online | Subscribe | Download Our App Presented by: Stay current on the latest money news that

The new tablet to beat

Monday, March 3, 2025

5 top MWC products; iPhone 16e hands-on📱; Solar-powered laptop -- ZDNET ZDNET Tech Today - US March 3, 2025 TCL Nxtpaper 11 tablet at CES The tablet that replaced my Kindle and iPad is finally getting

Import AI 402: Why NVIDIA beats AMD: vending machines vs superintelligence; harder BIG-Bench

Monday, March 3, 2025

What will machines name their first discoveries? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

GCP Newsletter #440

Monday, March 3, 2025

Welcome to issue #440 March 3rd, 2025 News LLM Official Blog Vertex AI Evaluate gen AI models with Vertex AI evaluation service and LLM comparator - Vertex AI evaluation service and LLM Comparator are

Apple Should Swap Out Siri with ChatGPT

Monday, March 3, 2025

Not forever, but for now. Until a new, better Siri is actually ready to roll — which may be *years* away... Apple Should Swap Out Siri with ChatGPT Not forever, but for now. Until a new, better Siri is

⚡ THN Weekly Recap: Alerts on Zero-Day Exploits, AI Breaches, and Crypto Heists

Monday, March 3, 2025

Get exclusive insights on cyber attacks—including expert analysis on zero-day exploits, AI breaches, and crypto hacks—in our free newsletter. ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌

⚙️ AI price war

Monday, March 3, 2025

Plus: The reality of LLM 'research' ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌