A library of reusable components for use in MongoDB migration tooling. You may find some of them useful in your own projects.
IMPORTANT: This Repository is NOT an officially supported MongoDB product. No support guarantees are made. Use at your own risk.
- Prioritize separation of concerns. In particular, avoid references to specific downstream tools except to give examples.
- Document thoroughly, preferably with example code.
This repo uses mise for managing dev tools. After you install mise, run
the following commands:
mise trust
mise install
If you'd like linting checks to run as a git pre-commit hook, run git/setup to install the hook.
Some things should not be in this library because upstream tooling already provides them.
- generic
syncmap; use xsync instead - safe numeric conversion; use github.com/ccoveille/go-safecast/v2 instead
- sets; use golang-set instead