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

The goLang decimal type saves the mongoDB database #310

Open
ApengGithub opened this issue Feb 2, 2023 · 0 comments
Open

The goLang decimal type saves the mongoDB database #310

ApengGithub opened this issue Feb 2, 2023 · 0 comments

Comments

@ApengGithub
Copy link

ApengGithub commented Feb 2, 2023

I import decimal third-party packages(url:github.com/shopspring/decimal), in the field to an entity defines the amount of decimal. The decimal type (chart 1), save the amount fields to mongo database when no value (chart 2), Can authors write a bson type map in decimal.go(decimal.Decimal mapping Decimal128)?
chart 1:
image
chart 2:
image

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

No branches or pull requests

1 participant