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

💻 Issue 428 - C# different way to do a proof of concept

Thursday, September 19, 2024

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

💎 Issue 435 - Ruby-SAML pwned by XML signature wrapping attacks

Thursday, September 19, 2024

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

💻 Issue 435 - Oracle, it's time to free JavaScript

Thursday, September 19, 2024

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

📱 Issue 429 - iOS 18 breaks IMAPS self-signed certs

Thursday, September 19, 2024

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

💻 Issue 353 - Why React Won the Front-End Race

Thursday, September 19, 2024

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

💻 Issue 435 - DevSecOps Project: "Secure Full-Stack Node.js Web Application Deployment with Jenkins, Docker, Kubernetes, and HashiCorp Vault"

Thursday, September 19, 2024

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

📱 Issue 432 - Swift 6

Thursday, September 19, 2024

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

💻 Issue 430 - Days since last Minecraft server written in Rust was released

Thursday, September 19, 2024

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

Ranked | The Largest Producers of Wind Power, by Country ⚡

Thursday, September 19, 2024

Global wind power capacity hit fresh records in 2023 thanks to strategic government investment and lower technology costs. View Online | Subscribe | Download Our App Presented by: NEW REPORT: Brought

🧠 ChatGPT Passed the Turing Test — 5 Tips to Make Your Laptop Last Longer

Thursday, September 19, 2024

Also: How to Sideload Apps on Android TV, and More! How-To Geek Logo September 19, 2024 Did You Know Babies seem to have such large eyes because humans are born with eyes approximately 75 percent of