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

Remove Value interface and ForceJSON #79

Merged
merged 2 commits into from
Dec 16, 2019
Merged

Remove Value interface and ForceJSON #79

merged 2 commits into from
Dec 16, 2019

Conversation

nhooyr
Copy link
Contributor

@nhooyr nhooyr commented Dec 16, 2019

Realized we can replace ForceJSON now that we only marshal
structs as JSON if they have a json struct tag and json.Marshaller
can be used in place of Value as well so its not necessary.

Realized we can replace ForceJSON now that we only marshal
structs as JSON if they have a json struct tag and json.Marshaller
can be used in place of Value as well so its not necessary.
Copy link
Member

@ammario ammario left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can it get any better?

@nhooyr
Copy link
Contributor Author

nhooyr commented Dec 16, 2019

@ammario Challenge accepted

@nhooyr nhooyr merged commit daaf96c into master Dec 16, 2019
@nhooyr nhooyr deleted the simplify branch December 16, 2019 17:22
@nhooyr
Copy link
Contributor Author

nhooyr commented Dec 16, 2019

@coadler you can now compare Time's approximately with google/go-cmp/cmp/cmpopts

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

Successfully merging this pull request may close these issues.

2 participants