https://github.com/franciscocpg/reflectme
Utilities for golang reflections
https://github.com/franciscocpg/reflectme
golang golang-library reflection
Last synced: 5 months ago
JSON representation
Utilities for golang reflections
- Host: GitHub
- URL: https://github.com/franciscocpg/reflectme
- Owner: franciscocpg
- License: mit
- Created: 2016-11-27T13:03:43.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-03-23T01:47:36.000Z (about 2 years ago)
- Last Synced: 2024-06-21T18:12:53.860Z (11 months ago)
- Topics: golang, golang-library, reflection
- Language: Go
- Size: 28.3 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
ReflectME
===========
[](https://travis-ci.org/franciscocpg/reflectme)
[](https://godoc.org/github.com/franciscocpg/reflectme)Package reflectme provides high level abstractions above the golang reflect library with some utilities functions.
The base code is a fork of https://github.com/oleiade/reflections. Then some other concepts and functions were added.
## Installation
Use some dependency manager tool like [glide](https://github.com/Masterminds/glide) pinning to some tag version. Eg
```yaml
package: github.com/franciscocpg/test
import:
- package: github.com/franciscocpg/reflectme
version: 0.1.4
```## Usage
As the code is 100% test covered the easier way is to look at [tests](https://github.com/franciscocpg/reflectme/blob/master/reflections_test.go) and [godoc](https://godoc.org/github.com/franciscocpg/reflectme).## Contribute
* Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug.
* Fork the repository on GitHub to start making your changes to the **master** branch (or branch off of it).
* Write tests which shows that the bug was fixed or that the feature works as expected and make sure the is 100% coverage. One can run `make test-coverage` to see the coverage %. If it's not 100%, one can run `make coverage-missing` to catch the lines that are not covered.
* Send a pull request
* If all checks status are successful the PR is going to be merged.
* Every merged PR is going to tag a new `semver` release