Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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.

@nhooyr nhooyr requested review from ammario and coadler December 16, 2019 17:08
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