Golang drawer
@golang101
178
subscribers
1
photo
5.03K
links
Curated Golang news
Download Telegram
Join
Golang drawer
178 subscribers
Golang drawer
https://blog.pradumnasaraf.dev/dockerizing-go-api
Pradumna Saraf
Dockerize Golang API with MySQL & Docker Compose
Learn how to dockerize a Golang API with MySQL, and add Docker Compose support for streamlined development and deployment
Golang drawer
https://ebpfchirp.substack.com/p/transparent-proxy-implementation
eBPFChirp
Transparent Proxy Implementation using eBPF and Go
Building a Transparent Proxy with eBPF
Golang drawer
https://www.freecodecamp.org/news/how-to-implement-server-sent-events-in-go/
freeCodeCamp.org
How to Implement Server-Sent Events in Go
Server-Sent Events (SSE) is a powerful technology that enables real-time, unidirectional communication from servers to clients. In this article, we'll explore how to implement SSE in Go, discussing its benefits, use cases, and providing practical exa...
Golang drawer
https://www.jvt.me/posts/2024/09/16/api-pretty/
Jamie Tanna | Software Engineer
Don't pretty print your API's JSON response body · Jamie Tanna | Software Engineer
Why pretty-printing JSON responses in your APIs is a waste of resources, and you should stop it.
Golang drawer
https://bitfieldconsulting.com/posts/aes-encryption
Bitfield Consulting
Encrypting with AES — Bitfield Consulting
AES is an amazing, state-of-the-art encryption system, and it’s built right in to Go as part of the standard library. It’s also incredibly easy to use. Let’s see how!
Golang drawer
https://blog.kowalczyk.info/article/4b1f9201181340099b698246857ea98d/using-go-instead-of-bash-for-scripts.html
blog.kowalczyk.info
Using Go instead of bash for scripts
Golang drawer
https://eli.thegreenplace.net/2024/notes-on-running-go-in-the-browser-with-webassembly/
Golang drawer
https://go.dev/blog/llmpowered
go.dev
Building LLM-powered applications in Go - The Go Programming Language
LLM-powered applications in Go using Gemini, langchaingo and Genkit
Golang drawer
https://go.dev/blog/alias-names
go.dev
What's in an (Alias) Name? - The Go Programming Language
A description of generic alias types, a planned feature for Go 1.24
Golang drawer
https://www.willem.dev/articles/sets-in-golang/
www.willem.dev
Sets in Go/Golang – Using Maps and Recommended Packages
Learn how to create sets using maps. With and without open source packages.
Golang drawer
https://victoriametrics.com/blog/go-singleflight/index.html
VictoriaMetrics
Go Singleflight Melts in Your Code, Not in Your DB
What singleflight does is ensure that only one of those goroutines actually runs the operation, like getting the data from the database. It allows only one ‘in-flight’ (ongoing) operation for the same piece of data (known as a ‘key’) at any given moment.
Golang drawer
https://rogersm.net/posts/developing-a-go-bot-embedding-ichiban-prolog/
Roger Sen
Developing a go bot embedding ichiban Prolog
Ichiban Prolog is a #golang implementation of an ISO compatible Prolog. To learn how to embed it, I decided to add Prolog support to Hellabot, a simple irc bot.
Hellabot design requires to program its triggers using a two step process as described in the…
Golang drawer
https://developers.redhat.com/articles/2024/09/24/go-compiler-register-allocation#regalloc
Red Hat Developer
Register allocation in the Go compiler | Red Hat Developer
As a maintainer of the GCC register allocator (RA), I naturally have a keen interest in the register allocators used in various industrial compilers
Golang drawer
https://jvns.ca/blog/2024/09/27/some-go-web-dev-notes/
Julia Evans
Some Go web dev notes
I spent a lot of time in the past couple of weeks working on a website in Go that may or may not ever see the light of day, but I learned a couple of things along the way I wanted to write down. Here they are:
Golang drawer
https://tip.golang.org/doc/gc-guide
tip.golang.org
A Guide to the Go Garbage Collector - The Go Programming Language
Golang drawer
https://tpaschalis.me/golang-multierr/
tpaschalis.me
Joining errors in Go
I recently realized that the stdlib errors package in Go supports joining
multiple errors in addition to the more common %w wrapping.
Golang drawer
https://tqdev.com/2024-distributed-metrics-in-php-using-go-and-gob
Tqdev
Distributed metrics in PHP using Go and Gob
In the previous post I showed how to do high frequency metrics in PHP with TCP sockets. In this post I'll show how to collect and combine metrics from multiple PHP application servers. Instead of sending the log lines from each server to a single node, the…
Golang drawer
https://www.dolthub.com/blog/2024-10-04-reflecting-on-reflect/
Dolthub
Reflecting on Go Reflection
Golang reflection is wonderfully horrible. Let's reflect on it.
Golang drawer
https://registerspill.thorstenball.com/p/glad-i-did-it-in-go
Thorstenball
Glad I did it in Go
Go, the greatest teaching language?
Golang drawer
https://victoriametrics.com/blog/go-sync-map/index.html
VictoriaMetrics
Go sync.Map: The Right Tool for the Right Job
Go’s sync.Map isn’t a magic bullet for all concurrent map needs. It’s got some good tricks up its sleeve, like handling reads without locking, but it’s not always the best choice. This article dives into how sync.Map works under the hood, from its two-map…