Go Reflection

Open-source Go projects categorized as Reflection

Top 12 Go Reflection Projects

  • reflections

    High level abstractions over the Go reflect library (by oleiade)

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

    Conditional marshalling for Go (by liip)

  • configuration

    Library for setting values to structs' fields from env, flags, files or default tag (by BoRuDar)

  • kod

    A generics based dependency injection application framework for Go, support OpenTelemetry trace/metric/log natively 🚀🚀🚀 (by go-kod)

  • set

    Package set is a small wrapper around the official reflect package that facilitates loose type conversion and assignment into native Go types.

  • xreflect

    A simple and user-friendly reflection utility library. (by morrisxyang)

  • Project mention: Go: A simple and easy-to-use reflection utility library that supports setting nested struct fields, function invocation, etc. | /r/golang | 2023-08-26

    GitHub Repository: https://github.com/morrisxyang/xreflect

  • SaaSHub

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

    SaaSHub logo
  • gostruct

    Runtime Struct Builder for Go

  • dot

    Dot: A powerful Go package simplifying navigation and manipulation of complex data structures via dot-separated paths. Features include insertion into struct fields, maps, arrays, slices, and channels, along with robust error handling and support for diverse map keys. (by mowshon)

  • Project mention: Introducing Dot: The Magical Path Manipulator for Go! (open source) | /r/golang | 2023-06-28

    🌍 Github: https://github.com/mowshon/dot

  • kinit

    GO Dependency Injection

  • flags

    Generate cobra command trees from structs. Go-flags compliant tags. Advanced CLI functionality, out-of-the-box. (by reeflective)

  • omg.testingtools

    This tool can be useful for writing a tests. If you want change private field in struct from imported libraries than it can help you.

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 Reflection discussion

Log in or Post with

Go Reflection related posts

  • what is this format called and would it be possible to create my own (back tics)

    1 project | /r/golang | 27 Dec 2022
  • Golang lib to keep configs tidy

    1 project | news.ycombinator.com | 16 Jun 2022
  • set v0.5.0 - struct mapping & population, type coercion, and slice building reflect wrapper

    1 project | /r/golang | 15 May 2022
  • Unmarshal text with Go reflection - usage and internals of a library for line-oriented text

    3 projects | /r/golang | 3 Jan 2022

Index

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

Project Stars
1 reflections 503
2 enum 334
3 sheriff 244
4 configuration 108
5 kod 85
6 set 46
7 xreflect 42
8 gostruct 32
9 dot 19
10 kinit 10
11 flags 8
12 omg.testingtools 1

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