Golang drawer
@golang101
178
subscribers
1
photo
5.03K
links
Curated Golang news
Download Telegram
Join
Golang drawer
178 subscribers
Golang drawer
https://www.dolthub.com/blog/2024-07-24-static-analysis/
Dolthub
What's the best Static Analysis tool for Golang?
Go has a whole ecosystem of static analysis tools that you probably aren't using, but should. Here's how to get started.
Golang drawer
https://go.googlesource.com/oscar/+/refs/heads/master/README.md
Golang drawer
https://groups.google.com/g/golang-dev/c/0OqBkS2RzWw/m/GzWvX5u6AQAJ
Golang drawer
https://jvns.ca/blog/2024/08/06/go-structs-copied-on-assignment/
Julia Evans
Go structs are copied on assignment (and other things about Go I'd missed)
I’ve been writing Go pretty casually for years – the backends for all of my playgrounds (nginx, dns, memory, more DNS) are written in Go, but many of those projects are just a few hundred lines and I don’t come back to those codebases much.
Golang drawer
https://invidious.jing.rocks/playlist?list=PLDWZ5uzn69ezR6D6FUj_iBSOyRc9xaZFP
Golang drawer
https://kmcd.dev/posts/http1.0-from-scratch/
kmcd.dev
HTTP/1.0 From Scratch
Laying the Foundation: Building the Web with HTTP/1.0.
Golang drawer
https://kokada.dev/blog/an-unordered-list-of-things-i-miss-in-go/
Golang drawer
https://victoriametrics.com/blog/go-map/
VictoriaMetrics
Go Maps Explained: How Key-Value Pairs Are Actually Stored
Map is a built-in type that acts as a key-value storage. Unlike arrays where you’re stuck with keys as increasing indices like 0, 1, 2, and so on, with maps, the key can be any comparable type.
Golang drawer
https://github.com/dnaeon/go-vcr
GitHub
GitHub - dnaeon/go-vcr: Record and replay your HTTP interactions for fast, deterministic and accurate tests
Record and replay your HTTP interactions for fast, deterministic and accurate tests - dnaeon/go-vcr
Golang drawer
https://github.com/janpfeifer/gonb
GitHub
GitHub - janpfeifer/gonb: GoNB, a Go Notebook Kernel for Jupyter
GoNB, a Go Notebook Kernel for Jupyter. Contribute to janpfeifer/gonb development by creating an account on GitHub.
Golang drawer
https://github.com/elliotchance/pie
GitHub
GitHub - elliotchance/pie:
🍕
Enjoy a slice! A utility library for dealing with slices and maps that focuses on type safety and…
🍕
Enjoy a slice! A utility library for dealing with slices and maps that focuses on type safety and performance. - elliotchance/pie
Golang drawer
https://github.com/samber/lo
GitHub
GitHub - samber/lo:
💥
A Lodash-style Go library based on Go 1.18+ Generics (map, filter, contains, find...)
💥
A Lodash-style Go library based on Go 1.18+ Generics (map, filter, contains, find...) - samber/lo
Golang drawer
https://github.com/alexellis/kubetrim
GitHub
GitHub - alexellis/kubetrim: Trim
📏
your KUBECONFIG automatically
Trim
📏
your KUBECONFIG automatically. Contribute to alexellis/kubetrim development by creating an account on GitHub.
Golang drawer
https://go.dev/blog/range-functions
go.dev
Range Over Function Types - The Go Programming Language
A description of range over function types, a new feature in Go 1.23.
Golang drawer
https://github.com/tinygo-org/tinygo/releases/tag/v0.33.0
GitHub
Release 0.33.0 · tinygo-org/tinygo
This is an important release. No new boards, but we make up for that by adding a bunch of other big stuff!
Some of the highlights:
Go 1.23 support (including the new range-over-func language featu...
Golang drawer
https://www.dolthub.com/blog/2024-08-23-the-4-chan-go-programmer/
Dolthub
The 4-chan Go programmer
A very silly concurrency exercise in using Go channels that send channels that send channels that send channels.
Golang drawer
https://victoriametrics.com/blog/go-sync-pool/
VictoriaMetrics
Go sync.Pool and the Mechanics Behind It
Instead of just throwing these objects after each use, which would only give the garbage collector more work, we stash them in a pool (sync.Pool). The next time we need something similar, we just grab it from the pool instead of making a new one from scratch.
Golang drawer
https://getconvoy.io/blog/end-to-end-test-suite-with-test-containers
Convoy
Designing a Robust Integration Test Suite for Convoy’s Data Plane with TestContainers | The Webhooks Blog
For the last 3 years, Convoy has been an indispensable tool for developers to securely send and receive millions of webhook events daily and at a massive scale. And since it is open source, many developers contribute to the project to ensure it remains highly…
Golang drawer
https://www.maragu.dev/blog/go-is-my-hammer-and-everything-is-a-nail
www.maragu.dev
Go is my hammer, and everything is a nail
Always choose the right tool for the job? Nah. I use Go basically everywhere, which either makes me insightful or stupid. Decide for yourself! :D
Golang drawer
https://matttproud.com/blog/posts/go-testing-harness.html
matttproud.com (blog)
Go: How the Testing Harness Works
This is a smaller piece that I broke off from a larger article. It’s in the space of Go minutiae, but it’s worth considering if you plan on developing full mastery of the language ecosystem.
So let’s start out with a question: what happens when you run go…