Go Utilities

Open-source Go projects categorized as Utilities

Top 23 Go Utility Projects

  • GitHub repo fzf

    :cherry_blossom: A command-line fuzzy finder

    Project mention: Is there a better program than finder for searching files on a Mac? | reddit.com/r/datacurator | 2021-03-06

    I use https://github.com/junegunn/fzf on the commandline. It's beautiful.

  • GitHub repo hub

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

    Project mention: Bit A Modernized Git Cli Written In Go | reddit.com/r/git | 2021-02-07

    I mean, at least it's honest - they have a niche problem and a niche tool - unlike this project, which takes pot shots at one of the most revolutionary tools for collaborative development invented in modern times and does pretty much the same stuff as hub

  • GitHub repo ngrok

    Introspected tunnels to localhost

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

    inconshreveable/ngrok (Go): Introspected tunnels to localhost

  • GitHub repo delve

    Delve is a debugger for the Go programming language.

    Project mention: Go 1.16 error while using Delve | reddit.com/r/golang | 2021-02-17

    Do you use the latest version of Delve? This looks like https://github.com/go-delve/delve/issues/2258

  • GitHub repo ctop

    Top-like interface for container metrics

    Project mention: something similar to k9s but for Docker | reddit.com/r/docker | 2021-03-02

    I like ctop

  • GitHub repo wuzz

    Interactive cli tool for HTTP inspection

  • GitHub repo excelize

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

    Project 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

  • GitHub repo GJSON

    Get JSON values quickly - JSON parser for Go

    Project mention: comparing two jsons element-wise | reddit.com/r/golang | 2021-03-01

    gjson package could also be useful for this case (https://github.com/tidwall/gjson). Of course, it wouldn’t show the difference, but local json (I assume it’s a model data, used as a reference) can be used to get keys list and values to compare with.

  • GitHub repo goreleaser

    Deliver Go binaries as fast and easily as possible

    Project mention: Changie - Automated Changelog Tool | dev.to | 2021-02-20

    Probably the most common option, or at least most readily available, is to pull your commit messages since the last release and package it all up. You have tools and formats such as conventional commits combined with standard version can auto-generate changelogs for you. NodeJS's changelog maker does the same thing in one package. GoReleaser has a built-in release notes tool that acts very similarly.

  • GitHub repo peco

    Simplistic interactive filtering tool

    Project mention: This 9 Coolest CLI Tools that i found this week | dev.to | 2021-02-08

    Link : https://github.com/peco/peco

  • GitHub repo usql

    Universal command-line interface for SQL databases

  • GitHub repo xlsx

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

    Project mention: Any good Visual Basic courses? | reddit.com/r/learnprogramming | 2021-03-04
  • GitHub repo resty

    Simple HTTP and REST client library for Go

  • GitHub repo godropbox

    Common libraries for writing Go services/applications.

  • GitHub repo godotenv

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

    Project mention: Guia API CRUD con Go y PostgreSQL | dev.to | 2021-02-08
  • GitHub repo Task

    A task runner / simpler Make alternative written in Go

    Project mention: 🗞 What's new and special in Create Go App CLI v1.7.0? | dev.to | 2021-02-26

    In this version (and later), support for Taskfile will be dropped throughout the Create Go App project (both in the CLI and in production-ready templates).

  • GitHub repo hystrix-go

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

  • GitHub repo goreporter

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

  • GitHub repo gorequest

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

  • GitHub repo minify

    Go minifiers for web formats (by tdewolff)

  • GitHub repo panicparse

    Crash your app in style (Golang)

    Project mention: Remove source path from Go's panic stack trace | reddit.com/r/golang | 2021-02-19

    This one works nicely too: https://github.com/maruel/panicparse

  • GitHub repo go-funk

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

    Project 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

  • GitHub repo gojson

    Automatically generate Go (golang) struct definitions from example JSON

    Project 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-03-06.


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

Project Stars
1 fzf 35,168
2 hub 20,771
3 ngrok 19,943
4 delve 15,634
5 ctop 11,120
6 wuzz 9,510
7 excelize 8,115
8 GJSON 7,899
9 goreleaser 7,611
10 peco 6,225
11 usql 6,102
12 xlsx 4,802
13 resty 3,965
14 godropbox 3,929
15 godotenv 3,613
16 Task 3,132
17 hystrix-go 3,071
18 goreporter 2,819
19 gorequest 2,811
20 minify 2,592
21 panicparse 2,537
22 go-funk 2,380
23 gojson 2,329