Go Library
4.11K subscribers
20 photos
63 files
798 links
Go (Golang) Library

Реклама: @ostinostin
Контент: @mxssl
Download Telegram
pond

pond is a minimalistic and high-performance Go library designed to elegantly manage concurrent tasks.


https://github.com/alitto/pond
Golang sync.Pool is not a silver bullet

https://wundergraph.com/blog/golang-sync-pool
Most People Overlook Go’s Concurrency Secrets

https://blog.cubed.run/the-cards-of-concurrency-in-go-0d7582cecb79
revive

Fast, configurable, extensible, flexible, and beautiful linter for Go. Drop-in replacement of golint. Revive provides a framework for development of custom rules, and lets you define a strict preset for enhancing your development & code review processes.


https://github.com/mgechev/revive
Faster shuffling in Go with batching

Random integer generation is a fundamental operation in programming, often used in tasks like shuffling arrays. Go’s standard library provides convenient tools like rand.Shuffle for such purposes. You may be able to beat the standard library by a generous margin. Let us see why.


https://lemire.me/blog/2025/04/06/faster-shuffling-in-go-with-batching
More predictable benchmarking with testing.B.Loop

https://go.dev/blog/testing-b-loop
Go write a web app! Five interesting Go web frameworks

https://www.honeybadger.io/blog/golang-frameworks
Go’s best-kept secret: executable examples

https://bitfieldconsulting.com/posts/examples
github-mcp-server

The GitHub MCP Server is a Model Context Protocol (MCP) server that provides seamless integration with GitHub APIs, enabling advanced automation and interaction capabilities for developers and tools.


https://github.com/github/github-mcp-server
genanki-go

A Go library for generating Anki decks programmatically.


https://github.com/npcnixel/genanki-go
go-ansible

Go-ansible is a Go package that allows executing Ansible commands, such as ansible-playbook, ansible-inventory, or ansible, directly from Golang applications. It offers a variety of options for each command, facilitating seamless integration of Ansible functionality into your projects. It is important to highlight that go-ansible is not an alternative implementation of Ansible, but rather a wrapper around the Ansible commands. Let's dive in and explore the capabilities of go-ansible together.


https://github.com/apenella/go-ansible
outpost

Outpost is a self-hosted and open-source infrastructure that enables event producers to add outbound webhooks and Event Destinations to their platform with support for destination types such as Webhooks, Hookdeck Event Gateway, Amazon EventBridge, AWS SQS, AWS SNS, GCP Pub/Sub, RabbitMQ, and Kafka.


https://github.com/hookdeck/outpost
listmonk

listmonk is a standalone, self-hosted, newsletter and mailing list manager. It is fast, feature-rich, and packed into a single binary. It uses a PostgreSQL database as its data store.


https://github.com/knadh/listmonk
Graceful Shutdown in Go: Practical Patterns

Graceful shutdown in any application generally satisfies three minimum conditions:

1. Close the entry point by stopping new requests or messages from sources like HTTP, pub/sub systems, etc. However, keep outgoing connections to third-party services like databases or caches active.
2. Wait for all ongoing requests to finish. If a request takes too long, respond with a graceful error.
3. Release critical resources such as database connections, file locks, or network listeners. Do any final cleanup.

This article focuses on HTTP servers and containerized applications, but the core ideas apply to all types of applications.


https://victoriametrics.com/blog/go-graceful-shutdown/index.html