Powerful template for CLI projects in Go 🐹

This page summarizes the projects mentioned and recommended in the original post on /r/golang

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • go-template

    ☄️ Powerful template for Go CLI projects with advanced config management (by metafates)

  • viper

    Go configuration with fangs

  • Advanced config management with viper and useful config commands such as setting or getting config values directly from CLI (like this config set -k logs.write -v true ). ENV & File (TOML or YAML) based configuration. Configuration is self-documented, simple type config info to show every config field available with description for each, so no need to write a whole wiki page to explain what each setting does.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • cobra

    A Commander for modern Go CLI interactions

  • Polished CLI experience with cobra and coloredcobra to make things look pretty

  • coloredcobra

    ColoredСobra is a library that allows to colorize the text output of the Cobra library

  • Polished CLI experience with cobra and coloredcobra to make things look pretty

  • afero

    A FileSystem Abstraction System for Go

  • Afero filesystem for various fs utils, abstractions and in-memory fs for testing. For example, instead of os.Remove("file") use filesystem.Api().Remove("file")

  • logrus

    Structured, pluggable logging for Go.

  • Preconfigured logging with logrus

  • lipgloss

    Style definitions for nice terminal layouts 👄

  • Predefined colors for lipgloss

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts