Go Runtime Finalizer and Keep Alive
https://victoriametrics.com/blog/go-runtime-finalizer-keepalive
So, here’s something interesting, there’s an API in Go’s runtime package called runtime.SetFinalizer. This little feature lets you set a “finalizer” for an object.
https://victoriametrics.com/blog/go-runtime-finalizer-keepalive
ML in Go with a Python sidecar
https://eli.thegreenplace.net/2024/ml-in-go-with-a-python-sidecar
Machine learning models are rapidly becoming more capable; how can we make use of these powerful new tools in our Go applications?
For top-of-the-line commercial LLMs like ChatGPT, Gemini or Claude, the models are exposed as language agnostic REST APIs. We can hand-craft HTTP requests or use client libraries (SDKs) provided by the LLM vendors. If we need more customized solutions, however, some challenges arise. Completely bespoke models are typically trained in Python using tools like TensorFlow, JAX or PyTorch that don't have real non-Python alternatives.
In this post, I will present some approaches for Go developers to use ML models in their applications - with increasing level of customization. The summary up front is that it's pretty easy, and we only have to deal with Python very minimally, if at all - depending on the circumstances.
https://eli.thegreenplace.net/2024/ml-in-go-with-a-python-sidecar
when
https://github.com/olebedev/when
when is a natural language date/time parser with pluggable rules and merge strategies
https://github.com/olebedev/when
errorx
https://github.com/joomcode/errorx
The errorx library provides error implementation and error-related utilities.
https://github.com/joomcode/errorx
Go Profiling in Production
https://blog.oodle.ai/go-profiling-in-production
In this post, we'll explore the profiling tools we use. Golang provides a rich set of profiling tools to help uncover code bottlenecks.
https://blog.oodle.ai/go-profiling-in-production
Terminating Elegantly: A Guide to Graceful Shutdowns
https://packagemain.tech/p/graceful-shutdowns-k8s-go
For applications deployed in orchestrated environments (e.g., Kubernetes), graceful handling of termination signals is crucial.
https://packagemain.tech/p/graceful-shutdowns-k8s-go
Mastering Golang Debugging in Emacs
https://blog.dornea.nu/2024/11/28/mastering-golang-debugging-in-emacs
https://blog.dornea.nu/2024/11/28/mastering-golang-debugging-in-emacs
Lessons learned adding OpenTelemetry to a (Cobra) command-line Go tool
https://www.jvt.iss.one/posts/2024/11/17/cobra-otel-lessons
https://www.jvt.iss.one/posts/2024/11/17/cobra-otel-lessons
The smallest thing in Go
https://bitfieldconsulting.com/posts/iota
What is the smallest thing in Go? Well, I’m glad you asked!
https://bitfieldconsulting.com/posts/iota
dRPC is looking for a backend developer with experience in Go and Kotlin
https://knowing-lift-507.notion.site/Backend-developer-Golang-Kotlin-14d03cb34a4d8007b00ced454ec06bb8
https://knowing-lift-507.notion.site/Backend-developer-Golang-Kotlin-14d03cb34a4d8007b00ced454ec06bb8
shortuuid
https://github.com/lithammer/shortuuid
A Go library that generates concise, unambiguous, URL-safe UUIDs. Based on and compatible with the Python library shortuuid.
https://github.com/lithammer/shortuuid
Gist of Go: Goroutines
https://antonz.org/go-concurrency/goroutines
This is a chapter from my book on Go concurrency, which teaches the topic from the ground up through interactive examples.
Let's skip the long talk about concurrency and parallelism and jump right into writing a concurrent program in Go!
https://antonz.org/go-concurrency/goroutines