Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xgfone/go-structs
Provide a common policy to call a handler dynamically by the struct field tag.
https://github.com/xgfone/go-structs
field-handlers go golang reflecting reflection reflector struct struct-field-visitor struct-fields structfield structure
Last synced: about 2 months ago
JSON representation
Provide a common policy to call a handler dynamically by the struct field tag.
- Host: GitHub
- URL: https://github.com/xgfone/go-structs
- Owner: xgfone
- License: apache-2.0
- Created: 2023-04-01T10:41:37.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-12T13:58:07.000Z (8 months ago)
- Last Synced: 2024-10-30T20:49:13.046Z (3 months ago)
- Topics: field-handlers, go, golang, reflecting, reflection, reflector, struct, struct-field-visitor, struct-fields, structfield, structure
- Language: Go
- Homepage:
- Size: 41 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go Struct Reflect [![Build Status](https://github.com/xgfone/go-structs/actions/workflows/go.yml/badge.svg)](https://github.com/xgfone/go-structs/actions/workflows/go.yml) [![GoDoc](https://pkg.go.dev/badge/github.com/xgfone/go-structs)](https://pkg.go.dev/github.com/xgfone/go-structs) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg?style=flat-square)](https://raw.githubusercontent.com/xgfone/go-structs/master/LICENSE)
Provide a common policy to call a handler dynamically by the struct field tag.
## Example
See [Reflector](https://pkg.go.dev/github.com/xgfone/go-structs/#example-Reflector).