Go Enum

Open-source Go projects categorized as Enum

Top 8 Go Enum Projects

  • go-enum

    An enum generator for go

  • Project mention: Ten Years of “Go: The Good, the Bad, and the Meh | news.ycombinator.com | 2023-07-18

    While not perfect, there are ways to generate enums automatically using go:generate, e.g. https://github.com/abice/go-enum

  • 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
  • enumer

    A Go tool to auto generate methods for your enums (by dmarkham)

  • Project mention: Go Enums Still Suck | news.ycombinator.com | 2024-03-28
  • enum

    Type safe enums for Go without code generation or reflection (by orsinium-labs)

  • Project mention: Enum: Type safe enums for Go without code generation or reflection | news.ycombinator.com | 2023-08-30
  • genesis

    All generic functions for Go you ever need! (by life4)

  • flagvar

    A collection of CLI argument types for the Go `flag` package.

  • valor

    Go option and result types that optionally contain a value (by phelmkamp)

  • go-enumer

    ✨ Go-Enums with Magic ✨

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • go-enum-example

    Go Enum: benchmarks, examples, analysis

  • Project mention: Compile-time safety for enumerations in Go | news.ycombinator.com | 2023-09-29

    interesting approach! but I typically use this method for type constraints.

    for enums I prefer just direct structs: https://github.com/nikolaydubina/go-enum-example

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).

Go Enum discussion

Log in or Post with

Go Enum related posts

  • Flume/enthistory - History Tables For Ent

    3 projects | /r/golang | 15 Mar 2023
  • Enums?

    1 project | /r/golang | 8 Feb 2023
  • Why no enums?

    2 projects | /r/golang | 10 Nov 2022
  • Does Go not have enums in the sense that I can use them as a type?

    4 projects | /r/golang | 12 Oct 2022
  • How to do Enums in Go

    2 projects | /r/golang | 8 May 2021
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 18 Jun 2024
    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. Learn more →

Index

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

Project Stars
1 go-enum 675
2 enumer 390
3 enum 334
4 genesis 334
5 flagvar 43
6 valor 16
7 go-enumer 13
8 go-enum-example 7

Sponsored
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.
www.influxdata.com