Skip to content

Conversation

LYY
Copy link

@LYY LYY commented Aug 16, 2024

Some third-part libraries like https://github.com/shopspring/decimal is wildly used in many projects.

It's not easily to add encoder method directly, but can use func String() string method for encoded value.

For that purpose, add tag option string to force struct value use valueString method.

Copy link

google-cla bot commented Aug 16, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

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.

1 participant