v1.0.0 Release,More Powerful,More Efficient
Here is a revised version of the text with corrections and improvements for clarity and flow:
1. Gone Core Update
- Added a Function Dependency Injection Mechanism that can construct function parameters.
- Refactored the Preparer used for initiating the preparation flow.
- Refactored Cemetery.Bury, Cemetery.BuryOnce, and Cemetery.ReplaceBury.
- Added a new feature, GonerOption:
- GonerId as an implementation of GonerOption, used as the ID of a gone.
- IsDefault to indicate the default choice when multiple goners of one type exist.
- Order to sort goners at the start of ReviveAllFromTombs.
- Refactored TestKit using the Function Dependency Injection Mechanism and Preparer.
2. Goners Update
- Refactored the goner/gin HTTP Injection Mechanism, which builds the Gin Handle function at the start flow and only injects HTTP parameters when a request arrives, enhancing efficiency.
- Refactored configuration code, exporting helper functions to facilitate the creation of new Configure instances for parsing other configuration file formats.
3. New Goners Added
- goner/viper, integrated with Viper to read configuration files in formats like YAML, JSON, etc.
- goner/zap, integrated with Zap for more efficient logging.
4. Improved Coverage Testing
- Enhanced testing for better coverage.
I will write new document for v1.x later.