Top 23 Go Library Projects
Fast key-value DB in Go.
An in-memory key:value store/cache (similar to Memcached) library for Go, suitable for single-machine applications.Project mention: go-cache VS ccache - a user suggested alternative | libhunt.com/r/go-cache | 2022-04-02
Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.
Declarative web scraping
Golang gRPC Middlewares: interceptor chaining, auth, logging, retries and more.Project mention: [Question] Suggested way to update a database row using gRPC/PostgreSQL (pgx) ? | reddit.com/r/golang | 2021-11-16
I do some basic validation at the server layer using a GRPC interceptor.
Vugu: A modern UI library for Go+WebAssembly (experimental)Project mention: What do you use Go for? | reddit.com/r/golang | 2022-04-15
There is https://www.vugu.org/ It's Vue, but Go instead of JS.
A hand-crafted 2D game library in GoProject mention: Game engine for programmars | reddit.com/r/gamedev | 2022-03-05
faiface/pixel: A hand-crafted 2D game library in Go
A high performance memory-bound Go cacheProject mention: Quitting Dgraph Labs | reddit.com/r/golang | 2022-01-29
While I never used dgraph, I do use badger and ristretto and am similarly in a bind over their long-term survival (moreso badger than ristretto)...
Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.
A general purpose syntax highlighter in pure GoProject mention: Generating HMTL and MD files from .TXT in GO | dev.to | 2022-03-13
quick for generating Html and syntax highlighting code blocks
GoRequest -- Simplified HTTP client ( inspired by nodejs SuperAgent )Project mention: GitHub - wenerme/go-req: Declarative golang HTTP client | reddit.com/r/golang | 2021-08-26
requests is not declarative for me, this is what I mean declarative https://github.com/wenerme/go-wecom/blob/main/wecom/client_agent.go , requests is more like https://github.com/parnurzeal/gorequest , just chain everything. context.Context is not required, but just can be passed by.
A really basic thread-safe progress bar for Golang applications
Extensible security first OAuth 2.0 and OpenID Connect SDK for Go.
Litter is a pretty printer library for Go data structures to aid in debugging and testing.Project mention: Just released a maintained github.com/davecgh/go-spew/spew fork | reddit.com/r/golang | 2022-02-01
You may also be interested in Litter, which grew out of frustrations with go-spew, and which is actively maintained. I'm one of the contributors.
Parser and generator of M3U8-playlists for Apple HLS. Library for Go language. :cinema: (by grafov)
Graph algorithms and data structures (by yourbasic)
Juniper is an extension to the Go standard library using generics, including containers, iterators, and streams. (by bradenaw)Project mention: Juniper – an extension to the Go standard library using generics | news.ycombinator.com | 2022-03-11
Simple key-value store abstraction and implementations for Go (Redis, Consul, etcd, bbolt, BadgerDB, LevelDB, Memcached, DynamoDB, S3, PostgreSQL, MongoDB, CockroachDB and many more)
User-friendly Go library for building Grafana dashboards
Quick helpers for testing Go applications (by frankban)Project mention: Smooth Infinite Scrolling Post Feed | dev.to | 2022-01-26
I wrote a unit test that's too boring to share, except maybe for the quicktest package that made it a lot easier to handle assertions.
Goview is a lightweight, minimalist and idiomatic template library based on golang html/template for building Go web application.
Easy to use OpenID Connect client and server library written for Go and certified by the OpenID FoundationProject mention: Zitadel: The best of Auth0 and Keycloak combined | news.ycombinator.com | 2022-05-17
I had to set up a OIDC server so our website could act as OIDC provider, and was really surprised how hard that is to do if you simply need the most basic setup. In fact it would seem that everybody would just keep a Keycloak or whatever— in their cluster and would keep it up-to-date with whatever user schema they would have in their app. This felt like too much work for me (I didn't want to maintain a whole extra service to just be able and provide a couple Oauth scopes from our API back-end.) so instead I went on and implemented the server directly in our app using https://github.com/zitadel/oidc. In fact this was the only fully-functioning OIDC implementation in Go that I could just plug in and make it work. So big props up to the Zitadel guys, the only worry would be from my side that the server implementation could be more generic and could rely on a set of interfaces that the users would be able to implement easily, without having to import a bunch of code from 'examples/server' like we have to do at the moment?
Authenticator via oauth2 (by go-pkgz)
A place to keep useful golang functions and small librariesProject mention: Seeking feedback on my first big Go project - minicache: a distributed cache with client-side consistent hashing, arbitrary cluster sizes, support for both HTTP/gRPC interfaces, secured with mTLS | reddit.com/r/golang | 2022-05-14
I wrote a RAFT implementation which I was going to integrate with gubernator, but never did. There are other more widely used implementations. https://github.com/mailgun/holster/tree/master/election
Go implementation of the XDG Base Directory Specification and XDG user directories
Go Library related posts
go-cache VS ccache - a user suggested alternative
2 projects | 2 Apr 2022
Juniper – an extension to the Go standard library using generics
1 project | news.ycombinator.com | 11 Mar 2022
CockroachDB: The Resilient Geo-Distributed SQL Database
2 projects | news.ycombinator.com | 6 Mar 2022
Anyone using go 1.18 with GitHub Actions?
1 project | reddit.com/r/golang | 28 Feb 2022
Tran - 🖥 Securely transfer and send anything between computers with TUI.
9 projects | dev.to | 10 Feb 2022
Just released a maintained github.com/davecgh/go-spew/spew fork
4 projects | reddit.com/r/golang | 1 Feb 2022
Quitting Dgraph Labs
2 projects | reddit.com/r/golang | 29 Jan 2022
What are some of the best open-source Library projects in Go? This list will help you:
Are you hiring? Post a new remote job listing for free.