From 7c83881027e88dbc7bd711c87ed26f39ca5083d9 Mon Sep 17 00:00:00 2001 From: Arnav Date: Sat, 5 Oct 2024 00:29:42 +0530 Subject: [PATCH] feat: add reflection category (#5422) * feat: add reflection category * fix: suggested changes * fix: markdown * fix: resolve changes --- README.md | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index a65cc25e194..e12088f070d 100644 --- a/README.md +++ b/README.md @@ -128,6 +128,7 @@ Please take a quick gander at the [contribution guidelines](https://github.com/a - [Messaging](#messaging) - [Microsoft Office](#microsoft-office) - [Microsoft Excel](#microsoft-excel) + - [Microsoft Word](#microsoft-word) - [Miscellaneous](#miscellaneous) - [Dependency Injection](#dependency-injection) - [Project Layout](#project-layout) @@ -147,6 +148,7 @@ Please take a quick gander at the [contribution guidelines](https://github.com/a - [Package Management](#package-management) - [Performance](#performance) - [Query Language](#query-language) + - [Reflection](#reflection) - [Resource Embedding](#resource-embedding) - [Science and Data Analysis](#science-and-data-analysis) - [Security](#security) @@ -1259,8 +1261,7 @@ _Tools that generate Go code._ - [generis](https://github.com/senselogic/GENERIS) - Code generation tool providing generics, free-form macros, conditional compilation and HTML templating. - [go-enum](https://github.com/abice/go-enum) - Code generation for enums from code comments. - [go-linq](https://github.com/ahmetalpbalkan/go-linq) - .NET LINQ-like query methods for Go. -- [goderive](https://github.com/awalterschulze/goderive) - Derives functions from input types. -- [gotype](https://github.com/wzshiming/gotype) - Golang source code parsing, usage like reflect package. +- [goderive](https://github.com/awalterschulze/goderive) - Derives functions from input types - [goverter](https://github.com/jmattheis/goverter) - Generate converters by defining an interface. - [GoWrap](https://github.com/hexdigest/gowrap) - Generate decorators for Go interfaces using simple templates. - [interfaces](https://github.com/rjeczalik/interfaces) - Command line tool for generating interface definitions. @@ -1862,7 +1863,6 @@ _These libraries were placed here because none of the other categories seemed to - [go-openapi](https://github.com/go-openapi) - Collection of packages to parse and utilize open-api schemas. - [go-resiliency](https://github.com/eapache/go-resiliency) - Resiliency patterns for golang. - [go-unarr](https://github.com/gen2brain/go-unarr) - Decompression library for RAR, TAR, ZIP and 7z archives. -- [goenum](https://github.com/lvyahui8/goenum) - A common enumeration struct based on generics and reflection that allows you to quickly define enumerations and use a set of useful default methods. - [gofakeit](https://github.com/brianvoe/gofakeit) - Random data generator written in go. - [gommit](https://github.com/antham/gommit) - Analyze git commit messages to ensure they follow defined patterns. - [gopsutil](https://github.com/shirou/gopsutil) - Cross-platform library for retrieving process and system utilization(CPU, Memory, Disks, etc). @@ -2193,6 +2193,19 @@ _Unofficial libraries for package and dependency management._ **[⬆ back to top](#contents)** +## Reflection + +- [copy](https://github.com/gotidy/copy) - Package for fast copying structs of different types. +- [Deepcopier](https://github.com/ulule/deepcopier) - Simple struct copying for Go. +- [go-deepcopy](https://github.com/tiendc/go-deepcopy) - Fast deep copy library. +- [goenum](https://github.com/lvyahui8/goenum) - A common enumeration struct based on generics and reflection that allows you to quickly define enumerations and use a set of useful default methods. +- [gotype](https://github.com/wzshiming/gotype) - Golang source code parsing, usage like reflect package. +- [gpath](https://github.com/tenntenn/gpath) - Library to simplify access struct fields with Go's expression in reflection. +- [objwalker](https://github.com/rekby/objwalker) - Walk by go objects with reflection. +- [reflectutils](https://github.com/muir/reflectutils) - Helpers for working with reflection: struct tag parsing; recursive walking; fill value from string. + +**[⬆ back to top](#contents)** + ## Resource Embedding - [debme](https://github.com/leaanthony/debme) - Create an `embed.FS` from an existing `embed.FS` subdirectory. @@ -2496,13 +2509,13 @@ _Libraries for testing codebases and generating test data._ - [timex](https://github.com/cabify/timex) - A test-friendly replacement for the native `time` package. - [xgo](https://github.com/xhd2015/xgo) - A general pureposed function mocking library. -## Fuzzing and delta-debugging/reducing/shrinking +### Fuzzing and delta-debugging/reducing/shrinking - [go-fuzz](https://github.com/dvyukov/go-fuzz) - Randomized testing system. - [gofuzz](https://github.com/google/gofuzz) - Library for populating go objects with random values. - [Tavor](https://github.com/zimmski/tavor) - Generic fuzzing and delta-debugging framework. -## Selenium and browser control tools +### Selenium and browser control tools - [cdp](https://github.com/mafredri/cdp) - Type-safe bindings for the Chrome Debugging Protocol that can be used with browsers or other debug targets that implement it. - [chromedp](https://github.com/knq/chromedp) - a way to drive/test Chrome, Safari, Edge, Android Webviews, and other browsers supporting the Chrome Debugging Protocol. @@ -2751,7 +2764,6 @@ _General utilities and tools to make your life easier._ - [config-file-validator](https://github.com/Boeing/config-file-validator) - Cross Platform tool to validate configuration files. - [contextplus](https://github.com/contextplus/contextplus) - Package contextplus provide more easy to use functions for contexts. - [cookie](https://github.com/syntaqx/cookie) - Cookie struct parsing and helper package. -- [copy](https://github.com/gotidy/copy) - Package for fast copying structs of different types. - [copy-pasta](https://github.com/jutkko/copy-pasta) - Universal multi-workstation clipboard that uses S3 like backend for the storage. - [countries](https://github.com/biter777/countries) - Full implementation of ISO-3166-1, ISO-4217, ITU-T E.164, Unicode CLDR and IANA ccTLD standards. - [countries](https://github.com/pioz/countries) - All you need when you are working with countries in Go. @@ -2762,7 +2774,6 @@ _General utilities and tools to make your life easier._ - [cvt](https://github.com/shockerli/cvt) - Easy and safe convert any value to another type. - [dbt](https://github.com/nikogura/dbt) - A framework for running self-updating signed binaries from a central, trusted repository. - [Death](https://github.com/vrecan/death) - Managing go application shutdown with signals. -- [Deepcopier](https://github.com/ulule/deepcopier) - Simple struct copying for Go. - [delve](https://github.com/derekparker/delve) - Go debugger. - [dive](https://github.com/wagoodman/dive) - A tool for exploring each layer in a Docker image. - [dlog](https://github.com/kirillDanshin/dlog) - Compile-time controlled logger to make your release smaller without removing debug calls. @@ -2818,7 +2829,6 @@ _General utilities and tools to make your life easier._ - [gostrutils](https://github.com/ik5/gostrutils) - Collections of string manipulation and conversion functions. - [gotenv](https://github.com/subosito/gotenv) - Load environment variables from `.env` or any `io.Reader` in Go. - [goval](https://github.com/maja42/goval) - Evaluate arbitrary expressions in Go. -- [gpath](https://github.com/tenntenn/gpath) - Library to simplify access struct fields with Go's expression in reflection. - [graterm](https://github.com/skovtunenko/graterm) - Provides primitives to perform ordered (sequential/concurrent) GRAceful TERMination (aka shutdown) in Go application. - [grofer](https://github.com/pesos/grofer) - A system and resource monitoring tool written in Golang! - [gubrak](https://github.com/novalagung/gubrak) - Golang utility library with syntactic sugar. It's like lodash, but for golang. @@ -2857,7 +2867,6 @@ _General utilities and tools to make your life easier._ - [netbug](https://github.com/e-dard/netbug) - Easy remote profiling of your services. - [nfdump](https://github.com/chrispassas/nfdump) - Read nfdump netflow files. - [nostromo](https://github.com/pokanop/nostromo) - CLI for building powerful aliases. -- [objwalker](https://github.com/rekby/objwalker) - Walk by go objects with reflection. - [okrun](https://github.com/xta/okrun) - go run error steamroller. - [olaf](https://github.com/btnguyen2k/olaf) - Twitter Snowflake implemented in Go. - [onecache](https://github.com/adelowo/onecache) - Caching library with support for multiple backend stores (Redis, Memcached, filesystem etc). @@ -2869,7 +2878,6 @@ _General utilities and tools to make your life easier._ - [pointer](https://github.com/xorcare/pointer) - Package pointer contains helper routines for simplifying the creation of optional fields of basic type. - [ptr](https://github.com/gotidy/ptr) - Package that provide functions for simplified creation of pointers from constants of basic types. - [rclient](https://github.com/zpatrick/rclient) - Readable, flexible, simple-to-use client for REST APIs. -- [reflectutils](https://github.com/muir/reflectutils) - Helpers for working with reflection: struct tag parsing; recursive walking; fill value from string. - [remote-touchpad](https://github.com/Unrud/remote-touchpad) - Control mouse and keyboard from a smartphone. - [repeat](https://github.com/ssgreg/repeat) - Go implementation of different backoff strategies useful for retrying operations and heartbeating. - [request](https://github.com/mozillazg/request) - Go HTTP Requests for Humans™.