Go Utilities

Open-source Go projects categorized as Utilities

Top 23 Go Utility Projects

  • fzf

    :cherry_blossom: A command-line fuzzy finder

    Latest mention: [pt-BR] NeoVim para Typescript | dev.to | 2021-01-26


  • hub

    A command-line tool that makes git easier to use with GitHub.

    Latest mention: If there are two developers working on a single repo in an org, should they follow feature-branch workflow or use pull requests? | reddit.com/r/devops | 2021-01-07

    If you want to extend the git command with GitHub features you can check out https://github.com/github/hub

  • ngrok

    Introspected tunnels to localhost

    Latest mention: Gopher Gold #11 - Wed Sep 16 2020 | dev.to | 2020-09-16

    inconshreveable/ngrok (Go): Introspected tunnels to localhost

  • delve

    Delve is a debugger for the Go programming language.

    Latest mention: Debugging w/CLI and GoLand works on Apple M1 | reddit.com/r/golang | 2021-01-04

    You can configure GoLand to point to a special Delve version using the instructions here https://github.com/go-delve/delve/pull/2285#issuecomment-753905662

  • ctop

    Top-like interface for container metrics

    Latest mention: Gui manager for docker | reddit.com/r/docker | 2021-01-08
  • wuzz

    Interactive cli tool for HTTP inspection

  • excelize

    Golang library for reading and writing Microsoft Excel™ (XLSX) files.

    Latest mention: Creating Excel files with Golang | reddit.com/r/golang | 2021-01-02

    change your extension xls to xlsx, and use this one. https://github.com/360EntSecGroup-Skylar/excelize


    Get JSON values quickly - JSON parser for Go

    Latest mention: Conditionally unmarshal API response to struct | reddit.com/r/golang | 2021-01-10

    In addition to the custom Unmarshal approach, there is also the option of using a json path query library to check a field value. https://github.com/tidwall/gjson Im not really sure of the performance implications.

  • goreleaser

    Deliver Go binaries as fast and easily as possible

  • peco

    Simplistic interactive filtering tool

    Latest mention: Show HN: History suggest box for your shell | news.ycombinator.com | 2020-12-26

    How does this differ from Peco[1]?

    [1]: https://github.com/peco/peco

  • usql

    Universal command-line interface for SQL databases

  • xlsx

    Go (golang) library for reading and writing XLSX files.

    Latest mention: Excelize 2.3.2 is Released – Go lib for reading and writing spreadsheet (Excel) files | reddit.com/r/golang | 2021-01-03

    Your library is nice, I keep going back to taelag just for WriteStruct and WriteSLices https://github.com/tealeg/xlsx/blob/master/write.go#L88

  • godropbox

    Common libraries for writing Go services/applications.

  • resty

    Simple HTTP and REST client library for Go

  • godotenv

    A Go port of Ruby's dotenv library (Loads environment variables from `.env`.)

  • Task

    A task runner / simpler Make alternative written in Go

    Latest mention: Does anyone feel that there’s so many CI/CD tools that it’s impossible to keep up with? | reddit.com/r/devops | 2021-01-04

    I've seen Just before. I much prefer https://github.com/go-task/task, though. In theory, it's closer to make, but task has really robust systems for variables, dependencies, control flow, and... Other things.

  • hystrix-go

    Netflix's Hystrix latency and fault tolerance library, for Go

  • goreporter

    A Golang tool that does static analysis, unit testing, code review and generate code quality report.

  • gorequest

    GoRequest -- Simplified HTTP client ( inspired by nodejs SuperAgent )

  • minify

    Go minifiers for web formats

  • panicparse

    Crash your app in style (Golang)

  • go-funk

    A modern Go utility library which provides helpers (map, find, contains, filter, ...)

    Latest mention: Show HN: Using generics to build a Lodash for Golang | news.ycombinator.com | 2021-01-15

    The latest generics design proposal is here: https://blog.golang.org/generics-proposal. This could land as early as Go 1.18 beta.

    I've started putting together the beginnings of what I hope will become a utility library like Lodash/Underscore (in the JS world) or go-funk[0] (in the Go world).

    Generics means no longer choosing between code duplication (multiple type-safe function implementations) and losing compile-time type-safety with reflection-based implementations. This is the current trade-off in e.g. go-funk.

    More info in blog post: https://github.com/mschristensen/go-funk-generics

    Feedback welcome - especially with regards on how to achieve method chaining...!

    [0] https://github.com/thoas/go-funk

  • gojson

    Automatically generate Go (golang) struct definitions from example JSON

    Latest mention: The first time I coded in Go | reddit.com/r/ProgrammerHumor | 2021-01-15

    There are also command line and web based tools to take your json input and create a struct you can marshal/unmarshal it to automatically. I use https://github.com/ChimeraCoder/gojson

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 2021-01-26.


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

Project Stars
1 fzf 34,426
2 hub 20,679
3 ngrok 19,783
4 delve 15,226
5 ctop 11,002
6 wuzz 9,337
7 excelize 7,940
8 GJSON 7,662
9 goreleaser 6,849
10 peco 6,179
11 usql 6,079
12 xlsx 4,748
13 godropbox 3,924
14 resty 3,794
15 godotenv 3,534
16 Task 3,071
17 hystrix-go 3,034
18 goreporter 2,804
19 gorequest 2,790
20 minify 2,559
21 panicparse 2,511
22 go-funk 2,317
23 gojson 2,315