Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement 'inline' support #8

Open
0xdevalias opened this issue Apr 12, 2018 · 3 comments
Open

Implement 'inline' support #8

0xdevalias opened this issue Apr 12, 2018 · 3 comments

Comments

@0xdevalias
Copy link
Contributor

While looking for ways to neatly map 'unmapped keys' in my structs, I came across the following:

Basically, it implements an inline tag that is then used to read all of the extra fields into a map[string]interface{}

@wlan0
Copy link
Member

wlan0 commented Apr 12, 2018

Thanks for adding this issue. I like this feature request.

tbh, we've already done things like this - https://medium.com/@utter_babbage/breaking-the-type-system-in-golang-aka-dynamic-types-8b86c35d897b.

I can add support for this, however find myself short on time to do it. :(

I can direct anyone willing to implement this feature if you have the time. Let me know if you can help me @0xdevalias, and I'll add you to our slack channel and we can add this feature together. :)

@0xdevalias
Copy link
Contributor Author

0xdevalias commented Apr 12, 2018

I definitely understand the time pressure side of things. At this stage, I don't have capacity to help implement it, but if I find the bandwidth and it hasn't been done yet, will definitely let you know :)

(Also, while half that post went over my head, it was a super interesting read!)

@wlan0
Copy link
Member

wlan0 commented Apr 12, 2018

(Also, while half that post went over my head, it was a super interesting read!)

thanks! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants