Go Optional

Open-source Go projects categorized as Optional

Top 8 Go Optional Projects

  • mo

    🦄 Monads and popular FP abstractions, powered by Go 1.18+ Generics (Option, Result, Either...)

    Project mention: Functional Programming Library for Golang by IBM | news.ycombinator.com | 2023-08-17

    A simple alternative is the combination of:

    - https://github.com/samber/lo

    - https://github.com/samber/mo

    The split is also nice as you can choose to just use the generic convenience functions from lo without the more FP related things from mo.

  • fpGo

    Monad, Functional Programming features for Golang

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • optional

    Optional is a library of optional Go types (by markphelps)

    Project mention: What “sucks” about Golang? | /r/golang | 2023-03-10

    A quick google search finds this library - it mentions returning optionalT which to me implies it uses generics, but I can’t confirm it does as I haven’t learnt Go yet and don’t know the syntax!

  • go-optional

    A library that provides Go Generics friendly "optional" features.

    Project mention: What “sucks” about Golang? | /r/golang | 2023-03-10

    Here's one that uses generics, here's a more elaborate one.

  • iter

    iter is a generic iterator library for Go (by Soft)

  • opt

    A simple and ergonomic optional type for Go. (by Southclaws)

    Project mention: Optional types and utilities for ergonomic data transformations | /r/golang | 2023-02-10
  • std

    An enhanced version of the standard library based the new Generics feature. (by go-board)

  • Mergify

    Updating dependencies is time-consuming.. Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.

  • goptional

    A comprehensive implementation of the Optional functor in Go 📦

    Project mention: 🦄 goptional: A comprehensive implementation of the Optional type in Go | /r/golang | 2022-12-28
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 2023-08-17.

Go Optional related posts


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

Project Stars
1 mo 1,807
2 fpGo 327
3 optional 182
4 go-optional 91
5 iter 65
6 opt 30
7 std 18
8 goptional 3
Static code analysis for 29 languages.
Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.