• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tarantool / go-config / 21395275774

27 Jan 2026 11:23AM UTC coverage: 83.838% (-7.7%) from 91.567%
21395275774

Pull #7

github

bigbes
config: implement config merging algorithm

- Add internal/merger package with MergeCollector function that handles
  replacement and key order preservation based on collector's KeepOrder flag.
- Update builder.go to use merger.MergeCollector instead of inline logic.
- Extend tree.Node with orderSet flag and ReorderChildren method to
  support ordered collectors.
- Update collectors/map.go to sort keys when KeepOrder is true for
  deterministic ordering.
- Add testify dependency as a first step of replacing shoenig lib.
- Add Merger and MergerContext interfaces for custom merging logic.
- Implement DefaultMerger with standard last-write-wins semantics.
- Add MergeCollectorWithMerger function for using custom mergers.
- Update Builder to support WithMerger method.
- Move internal/omap and internal/tree to root-level packages for public use
  in custom mergers.
- Add comprehensive example tests for custom mergers.
- Update imports and references throughout codebase.

Closes TNTP-5718
Pull Request #7: config: implement config merging algorithm

116 of 248 new or added lines in 6 files covered. (46.77%)

1162 of 1386 relevant lines covered (83.84%)

25.43 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

75.0
/errors.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc