Boost selected originals
A Go inventory editor reports current stock, applies a supplied bulk correction and returns original-record handles for its detail panel.
What needs to change
Repair boostSelected so selected original items receive the supplied adjustment.
Reproduce
- Run main.go with the supplied input and compare every boosted count with the expected report.
Acceptance criteria
Your review marks · Saved in this browser. Test acceptance is tracked separately.
Notes
Boost selected originals uses the complete Go file main.go, including its supplied input decoder, helpers and entry point.
Input is item count, bonus, then Count/Selected pairs. Selected is 0 or 1. The boosted report prints the original slice in input order.