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

Реклама: @ostinostin
Контент: @mxssl
Download Telegram
Go and Postgres Listen/Notify or: How I Learned to Stop Worrying and Love PubSub

This post is going to show you how to use Listen/Notify in your Golang applications with pgx Conn.WaitForNotification


https://brojonat.com/posts/go-postgres-listen-notify
go-graphviz

Go bindings for Graphviz


https://github.com/goccy/go-graphviz
notify

A dead simple Go library for sending notifications to various messaging services.


https://github.com/nikoksr/notify
bun

SQL-first Golang ORM


https://github.com/uptrace/bun
asynq

Asynq is a Go library for queueing tasks and processing them asynchronously with workers. It's backed by Redis and is designed to be scalable yet easy to get started.


https://github.com/hibiken/asynq
BemiDB

BemiDB is a Postgres read replica optimized for analytics. It consists of a single binary that seamlessly connects to a Postgres database, replicates the data in a compressed columnar format, and allows you to run complex queries using its Postgres-compatible analytical query engine.


https://github.com/BemiHQ/BemiDB
Writing secure Go code

What does it mean to keep security in mind when writing Go code? Answering this question in one short article seems impossible. For this reason, we will narrow it down to a few specific practices.


https://jarosz.dev/article/writing-secure-go-code
lazyjournal

TUI for journalctl, logs in the file system and docker containers for quick viewing and filtering with fuzzy find and regex support.


https://github.com/Lifailon/lazyjournal
Building thread-safe abstractions in Java versus Go

https://rybicki.io/blog/2024/11/03/multithreaded-code-java-golang.html
How to Build Smaller Container Images: Docker Multi-Stage Builds

https://labs.iximiuz.com/tutorials/docker-multi-stage-builds
vgt

vgt is a tool for visualising Go test results in a browser.


https://github.com/roblaszczak/vgt
jsony

A blazing fast and safe Go package for serializing JSON.


https://github.com/orsinium-labs/jsony
pg_flo

The easiest way to move and transform data between PostgreSQL databases using Logical Replication.


https://github.com/pgflo/pg_flo
Watermill 1.4 Released (Event-Driven Go Library)

https://threedots.tech/post/watermill-1-4
Go Runtime Finalizer and Keep Alive

So, here’s something interesting, there’s an API in Go’s runtime package called runtime.SetFinalizer. This little feature lets you set a “finalizer” for an object.


https://victoriametrics.com/blog/go-runtime-finalizer-keepalive