Go Library

Open-source Go projects categorized as Library | Edit details

Top 23 Go Library Projects

  • badger

    Fast key-value DB in Go.

    Project mention: CockroachDB: The Resilient Geo-Distributed SQL Database | news.ycombinator.com | 2022-03-06

    Out of curiosity, why write https://github.com/cockroachdb/pebble and not just use https://github.com/dgraph-io/badger?

  • go-cache

    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
  • SonarLint

    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.

  • Ferret

    Declarative web scraping

  • go-grpc-middleware

    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

    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.

  • Pixel

    A hand-crafted 2D game library in Go

    Project mention: Game engine for programmars | reddit.com/r/gamedev | 2022-03-05

    faiface/pixel: A hand-crafted 2D game library in Go

  • ristretto

    A high performance memory-bound Go cache

    Project 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)...

  • Scout APM

    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.

  • chroma

    A general purpose syntax highlighter in pure Go

    Project 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

    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.

  • progressbar

    A really basic thread-safe progress bar for Golang applications

  • fosite

    Extensible security first OAuth 2.0 and OpenID Connect SDK for Go.

  • litter

    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.

  • M3U8

    Parser and generator of M3U8-playlists for Apple HLS. Library for Go language. :cinema: (by grafov)

  • graph

    Graph algorithms and data structures (by yourbasic)

  • juniper

    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
  • gokv

    Simple key-value store abstraction and implementations for Go (Redis, Consul, etcd, bbolt, BadgerDB, LevelDB, Memcached, DynamoDB, S3, PostgreSQL, MongoDB, CockroachDB and many more)

  • grabana

    User-friendly Go library for building Grafana dashboards

  • quicktest

    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

    Goview is a lightweight, minimalist and idiomatic template library based on golang html/template for building Go web application.

  • oidc

    Easy to use OpenID Connect client and server library written for Go and certified by the OpenID Foundation

    Project 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?

  • auth

    Authenticator via oauth2 (by go-pkgz)

  • holster

    A place to keep useful golang functions and small libraries

    Project 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

  • xdg-go

    Go implementation of the XDG Base Directory Specification and XDG user directories

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-05-17.

Go Library related posts


What are some of the best open-source Library projects in Go? This list will help you:

Project Stars
1 badger 10,775
2 go-cache 6,140
3 Ferret 4,973
4 go-grpc-middleware 4,536
5 vugu 4,366
6 Pixel 3,916
7 ristretto 3,871
8 chroma 3,144
9 gorequest 3,139
10 progressbar 2,462
11 fosite 1,836
12 litter 1,307
13 M3U8 922
14 graph 545
15 juniper 468
16 gokv 430
17 grabana 429
18 quicktest 418
19 goview 277
20 oidc 271
21 auth 234
22 holster 216
23 xdg-go 210
Find remote jobs at our new job board 99remotejobs.com. There are 9 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives