Golang drawer
@golang101
178
subscribers
1
photo
5.03K
links
Curated Golang news
Download Telegram
Join
Golang drawer
178 subscribers
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…
Golang drawer
https://www.calhoun.io/using-functional-options-instead-of-method-chaining-in-go/
Calhoun.io
Using functional options instead of method chaining in Go - Calhoun.io
In Java, it is pretty common to see libraries that use method chaining (aka the builder pattern) to construct resources. For example, we might construct a user by doing something like:
User user = new User.Builder() .name("Michael Scott") .email("michael…
Golang drawer
https://github.com/asg017/sqlite-vec
GitHub
GitHub - asg017/sqlite-vec: A vector search SQLite extension that runs anywhere!
A vector search SQLite extension that runs anywhere! - asg017/sqlite-vec
Golang drawer
https://github.com/matryer/moq
GitHub
GitHub - matryer/moq: Interface mocking tool for go generate
Interface mocking tool for go generate. Contribute to matryer/moq development by creating an account on GitHub.
Golang drawer
https://github.com/Permify/permify/releases/tag/v1.0.0
GitHub
Release v1.0.0 · Permify/permify
🎉
Permify 1.0 Is Now Available: Build Fine-Grained Authorization With Ease
Getting authorization right is tough,
⛔
Ad-hoc authorization systems scattered throughout your app's codebase are hard...
Golang drawer
https://github.com/spf13/cast
GitHub
GitHub - spf13/cast: safe and easy casting from one type to another in Go
safe and easy casting from one type to another in Go - GitHub - spf13/cast: safe and easy casting from one type to another in Go
Golang drawer
https://github.com/google/go-github
GitHub
GitHub - google/go-github: Go library for accessing the GitHub v3 API
Go library for accessing the GitHub v3 API. Contribute to google/go-github development by creating an account on GitHub.
Golang drawer
https://github.com/amacneil/dbmate
GitHub
GitHub - amacneil/dbmate:
🚀
A lightweight, framework-agnostic database migration tool.
🚀
A lightweight, framework-agnostic database migration tool. - amacneil/dbmate
Golang drawer
https://go.dev/blog/unique
go.dev
New unique package - The Go Programming Language
New package for interning in Go 1.23.
Golang drawer
https://leg100.github.io/en/posts/building-bubbletea-programs/
Golang drawer
https://victoriametrics.com/blog/go-slice/
VictoriaMetrics
Slices in Go: Grow Big or Go Home
Slices are way more flexible than arrays since they’re basically a layer on top of an array. They can resize dynamically, and you can use append() to add more elements.