Topics / #golang-library

Golang-library projects on GitHub

Reusable Go libraries and packages for common programming needs.

As of , the most-starred Golang-library projects on GitHub are awesome-go (188.8K stars), cobra (44.7K stars) and testify (26.2K stars). GitHub.Locker tracks 16 Golang-library repositories with 452.5K stars combined. The fastest-growing on October 16 was awesome-go, with +168 stars in a day.

16Projects
452.5KStars in total
+200Stars in a day

Hot right now

Most stars gained in a day · Oct 16

The all-time top

16 projects · by stars

  1. #1 · avelino/awesome-go

    awesome-go

    A curated list of awesome Go frameworks, libraries, and software, organized by category.

    188.8K
  2. #2 · spf13/cobra

    cobra

    Cobra is a Go library for building modern CLI applications with subcommands, like git or go tools. It powers CLIs in Kubernetes, Hugo, and GitHub CLI.

    44.7K
  3. #3 · stretchr/testify

    testify

    Testify is a toolkit of Go packages that add assertions, mocking and test suites on top of the standard library, so tests are easier to write and failures are easy to read.

    26.2K
  1. 4

    logrus

    25.8Ksirupsen/logrus · Go

    A structured logger for Go — a library you import into your application, completely API-compatible with the standard library logger.

  2. 5

    cli

    24.3Kurfave/cli · Go

    urfave/cli is a Go package for building command line tools. You declare commands, subcommands, and flags in Go, and it handles argument parsing, the help system, and shell completion for you.

  3. 6

    badger

    15.8Kdgraph-io/badger · Go

    BadgerDB is an embeddable, persistent and fast key-value database written in pure Go. It is the storage engine behind the Dgraph graph database and a performant alternative to non-Go stores like RocksDB.

  4. 7

    gjson

    15.6Ktidwall/gjson · Go

    GJSON is a Go library for pulling values out of JSON documents quickly — one call with a path like 'name.last' returns the value. It also supports iteration and JSON Lines.

  5. 8

    goquery

    15KPuerkitoBio/goquery · Go

    goquery is a Go library that brings jQuery-like syntax and features to HTML parsing and manipulation, built on Go's net/html package and the cascadia CSS selector library.

  6. 9

    bolt

    14.6Kboltdb/bolt · Go

    An embedded key/value database for Go: a pure Go store inspired by LMDB, built for projects that don't want to operate a full database server like Postgres or MySQL.

  7. 10

    ebiten

    13.6Khajimehoshi/ebiten · Go

    Ebitengine (formerly Ebiten) is an open source 2D game engine for Go: a simple API for building 2D games that deploy across many platforms.

  8. 11

    zerolog

    12.5Krs/zerolog · Go

    Zerolog is a Go logging library that writes structured JSON (or CBOR) log events with zero or near-zero memory allocations, using a chaining API instead of reflection.

  9. 12

    resty

    11.8Kgo-resty/resty · Go

    Resty is a simple HTTP, REST, and SSE client library for Go — you add it to your Go project to call web services.

  10. 13

    ipatool

    11.7Kmajd/ipatool · Go

    ipatool is a command-line tool for searching the App Store and downloading .ipa packages for iOS, iPadOS, tvOS and visionOS apps, as well as .pkg packages for macOS apps.

  11. 14

    robotgo

    10.9Kgo-vgo/robotgo · Go

    A Go library for native cross-platform desktop automation: it drives the mouse and keyboard, reads the screen, manages windows and processes, and listens to global events — aimed at RPA, auto-testing and AI computer use.

  12. 15

    fsnotify

    10.8Kfsnotify/fsnotify · Go

    fsnotify is a Go library that provides cross-platform filesystem notifications, letting your Go program watch files and directories for changes.

  13. 16

    conc

    10.4Ksourcegraph/conc · Go

    conc is a Go library — a 'toolbelt' for structured concurrency that makes common concurrent patterns in Go easier and safer than raw goroutines and sync primitives.

Often tagged together