We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Create a new service to get user stats (i.e. new folder on the root of this project called "stats")
Return:
Example:
{ "numberOfAvailableVouchers": 3, "numberOfUsedVouchers": 42, "depositAmounts": [ { "materialDefinition": { "plasticType": "PET" }, "magnitude": 0, // 0 = Weight, 1 = Count. See commons/models.go "amount": 1.2 }, { "materialDefinition": { "plasticType": "HDPE" }, "magnitude": 0, // 0 = Weight, 1 = Count. See commons/models.go "amount": 13.37 }, { "materialDefinition": { "plasticType": "Snus" }, "magnitude": 1, // 0 = Weight, 1 = Count. See commons/models.go "amount": 314 } ] }
To see more details on the definition of the deposit amount model, look at https://github.com/empowerchain/deposit-backend/blob/main/commons/models.go
When you are done the file structure of the repo would probably look something like this:
- admin/ [+] - commons/ [+] - deposit/ [+] - organization/ [+] - scheme/ [+] - stats/ [-] - stats.go - stats_test.go - tmp/ [+] ...
The text was updated successfully, but these errors were encountered:
gfant
No branches or pull requests
Create a new service to get user stats (i.e. new folder on the root of this project called "stats")
Return:
Example:
To see more details on the definition of the deposit amount model, look at https://github.com/empowerchain/deposit-backend/blob/main/commons/models.go
When you are done the file structure of the repo would probably look something like this:
The text was updated successfully, but these errors were encountered: