-
Notifications
You must be signed in to change notification settings - Fork 497
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
Map/MustMap/Array/MustArray return *Json instead of interface{} #25
Comments
@elgs there are a few things I would change if given the chance (see #15 for example) I'm not sure the best way to proceed, though:
They all have their tradeoffs... |
maybe you should give http://gopkg.in a try |
the bitly of go package management! |
I would be wary of using services like gopkg.in. Who runs it? How do we know it won't suddenly disappear? |
where have I heard these arguments before? 😄 In all seriousness it is a good suggestion and it does provide some nice benefits, but I think one of the options I listed above, perhaps (2) or (3), makes the most sense to me. |
I think life will be a lot easier if Map/MustMap/Array/MustArray would return *Json instead of interface{}. No type assertion or casting would not be needed.
Currently, it's like this:
What I'm hoping is:
Best regards,
Elgs
The text was updated successfully, but these errors were encountered: