Go Reflection

Open-source Go projects categorized as Reflection

Top 12 Go Reflection Projects

  1. reflections

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

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. enum

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

    Project mention: Enums in Go | news.ycombinator.com | 2024-07-12
  4. sheriff

    Conditional marshalling for Go (by liip)

  5. kod

    A generics based dependency injection application framework for Go, supporting aspect oriented programming based on interceptors (by go-kod)

  6. configuration

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

  7. set

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

  8. xreflect

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

  9. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  10. gostruct

    Runtime Struct Builder for Go

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

  12. flags

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

  13. kinit

    GO Dependency Injection

  14. 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 528
2 enum 423
3 sheriff 253
4 kod 184
5 configuration 109
6 set 47
7 xreflect 46
8 gostruct 32
9 dot 22
10 flags 13
11 kinit 10
12 omg.testingtools 1

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you know that Go is
the 4th most popular programming language
based on number of references?