Golang drawer
@golang101
178
subscribers
1
photo
5.03K
links
Curated Golang news
Download Telegram
Join
Golang drawer
178 subscribers
Golang drawer
https://newsletter.pragmaticengineer.com/p/bluesky-engineering-culture
Pragmaticengineer
Inside Bluesky’s Engineering Culture
A deep dive into how a fully remote, open source-first, tech company is building a challenger social media platform. What can small teams learn from Bluesky about punching above your weight?
Golang drawer
https://metoro.io/blog/go-production-performance-gotcha-gomaxprocs
metoro.io
Optimizing Go Performance with GOMAXPROCS
Learn how to solve unexpected performance issues in Go applications by correctly configuring the GOMAXPROCS parameter for optimal CPU usage in containers
Golang drawer
https://www.groundcover.com/blog/golang-pprof
Groundcover
Investigating Golang Memory Leak with Pprof
Discover pprof's capabilities in tackling bugs and memory leaks, with a real-life case study examining its impact on performance.
Golang drawer
https://michael.stapelberg.ch/posts/2024-11-19-testing-with-go-and-postgresql-ephemeral-dbs/
Michael Stapelberg
Testing with Go and PostgreSQL: ephemeral DBs
Let’s say you created a Go program that stores data in PostgreSQL — you installed PostgreSQL, wrote the Go code, and everything works; great!
But after writing a test for your code, you wonder: how do you best provide PostgreSQL to your automated tests?
Golang drawer
https://xeiaso.net/notes/2024/go-pointer-constant/
xeiaso.net
Getting a pointer to a constant in Go
From least to most hacky
Golang drawer
https://victoriametrics.com/blog/go-weak-pointer/
VictoriaMetrics
Weak Pointers in Go: Why They Matter Now
Through the weak package, you can create these special pointers that automatically become nil when their target memory gets collected. While they’re a bit trickier to use than regular pointers, they’re super useful for things like canonicalization maps and…
Golang drawer
https://build-your-own.org/blog/20241125_go_slice_surprise/
build-your-own.org
Are Golang slices dynamic arrays or fat pointers? | Blog | build-your-own.org
Are Golang slices dynamic
arrays or fat pointers?
Golang drawer
https://go-app.dev/
go-app.dev
A Go package for building Progressive Web Apps
A package for building progressive web apps (PWA) with the Go programming language (Golang) and WebAssembly (Wasm). It uses a declarative syntax that allows creating and dealing with HTML elements only by using Go, and without writing any HTML markup.
Golang drawer
https://blog.smidt.dev/posts/0003/
The Smidt Blog
Diving into eBPF: Building a Process Tracer from Scratch!
How i ended up writing an ebpf based program to trace processes for a github action.
Golang drawer
https://mtlynch.io/notes/simple-go-web-service-nixos/
mtlynch.io
Run a Simple Go Web Service on NixOS
I have a few toy utility apps that I run 24/7 on cloud infrastructure. One example is PicoShare, a simple web app that makes it easy for me to share files with friends and teammates.
There are several convenience apps I would run if it were easy to run them…
Golang drawer
https://www.jvt.me/posts/2024/11/17/cobra-otel-lessons/
Jamie Tanna | Software Engineer
Lessons learned adding OpenTelemetry to a (Cobra) command-line Go tool · Jamie Tanna | Software Engineer
Some reflections on what I've found good and not so good about instrumenting a command-line tool with OpenTelemetry.
Golang drawer
https://bitfieldconsulting.com/posts/iota
Bitfield Consulting
The smallest thing in Go — Bitfield Consulting
iota is a neat feature of Go that lets us create “enums”: lists of constants with arbitrary values. Let’s find out how to use iota, with this quick tutorial.
Golang drawer
https://utcc.utoronto.ca/~cks/space/blog/programming/GoUnionTypesAndZeroValues
Golang drawer
https://avi.im/blag/2024/s3-log/
avi.im
Building a distributed log using S3 (under 150 lines of Go) - blag
In this third part of the series, I will show how we can implement a durable, distributed, and highly available log using S3
Golang drawer
https://www.dolthub.com/blog/2024-12-05-whats-missing-from-golang-generics/
Dolthub
What's Missing From Golang Generics?
Blog for DoltHub, a website hosting databases made with Dolt, an open-source version-controlled SQL database with Git-like semantics.
Golang drawer
https://nuage.quimerch.com/-/ewen/articles/templ-vs-gomponents
Nuage Notes
Articles/Templ vs Gomponents
Golang drawer
https://www.bleuio.com/blog/building-ble-applications-with-bleuio-and-go/
BleuIO - Create Bluetooth Low Energy application
Building BLE Applications with BleuIO and Go - BleuIO - Create Bluetooth Low Energy application
In this tutorial, we will walk you through the steps to get started with Bluetooth Low Energy (BLE) development using the BleuIO USB dongle and the Go programming language. BleuIO is a versatile and user-friendly BLE USB dongle that simplifies BLE application…
Golang drawer
https://lemire.me/blog/2024/12/08/data-structures-as-jigs-for-programmers-go-edition/
Golang drawer
https://snyk.io/blog/mitigating-ssrf-vulnerabilities-in-go/
Snyk
mitigating SSRF vulnerabilities in Go | Snyk
Dive into Server-Side Request Forgery (SSRF) vulnerabilities in Go applications and explore mitigation techniques. Learn how to secure your Go code and leverage tools like Snyk Code for proactive security.
Golang drawer
https://boyter.org/posts/golang-slog-disable-tests/