├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── feature_request.md │ ├── question.md │ └── refactor.md ├── pre-commit ├── pre-push └── workflows │ ├── go-fmt.yml │ ├── go.yml │ ├── golangci-lint.yml │ ├── integration_test.yml │ └── stale.yml ├── .gitignore ├── LICENSE ├── Makefile ├── README-zh_CN.md ├── README.md ├── aggregator ├── aggregator.go ├── aggregator_e2e_test.go ├── aggregator_test.go └── types.go ├── bsonx ├── bsonx.go ├── bsonx_test.go ├── builder.go └── builder_test.go ├── callback └── callback.go ├── client.go ├── client_e2e_test.go ├── client_test.go ├── collection.go ├── collection_e2e_test.go ├── collection_test.go ├── config.go ├── creator ├── creator.go ├── creator_e2e_test.go ├── creator_test.go └── types.go ├── database.go ├── database_e2e_test.go ├── database_test.go ├── deleter ├── deleter.go ├── deleter_e2e_test.go ├── deleter_test.go └── types.go ├── field ├── field.go └── field_test.go ├── finder ├── finder.go ├── finder_e2e_test.go ├── finder_test.go └── types.go ├── go.mod ├── go.sum ├── internal ├── hook │ ├── field │ │ ├── field.go │ │ ├── field_test.go │ │ ├── strategy.go │ │ └── strategy_test.go │ └── model │ │ ├── interface.go │ │ ├── model.go │ │ └── model_test.go └── pkg │ └── utils │ └── utils.go ├── mock ├── aggregator.mock.go ├── creator.mock.go ├── deleter.mock.go ├── finder.mock.go └── updater.mock.go ├── model.go ├── operation └── operation_type.go ├── script ├── fmt.sh ├── integrate_test.sh ├── integration_test_compose.yml ├── mongo │ └── mongo-init.sh └── setup.sh └── updater ├── types.go ├── updater.go ├── updater_e2e_test.go └── updater_test.go /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/question.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/.github/ISSUE_TEMPLATE/question.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/refactor.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/.github/ISSUE_TEMPLATE/refactor.md -------------------------------------------------------------------------------- /.github/pre-commit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/.github/pre-commit -------------------------------------------------------------------------------- /.github/pre-push: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/.github/pre-push -------------------------------------------------------------------------------- /.github/workflows/go-fmt.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/.github/workflows/go-fmt.yml -------------------------------------------------------------------------------- /.github/workflows/go.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/.github/workflows/go.yml -------------------------------------------------------------------------------- /.github/workflows/golangci-lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/.github/workflows/golangci-lint.yml -------------------------------------------------------------------------------- /.github/workflows/integration_test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/.github/workflows/integration_test.yml -------------------------------------------------------------------------------- /.github/workflows/stale.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/.github/workflows/stale.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/Makefile -------------------------------------------------------------------------------- /README-zh_CN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/README-zh_CN.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/README.md -------------------------------------------------------------------------------- /aggregator/aggregator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/aggregator/aggregator.go -------------------------------------------------------------------------------- /aggregator/aggregator_e2e_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/aggregator/aggregator_e2e_test.go -------------------------------------------------------------------------------- /aggregator/aggregator_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/aggregator/aggregator_test.go -------------------------------------------------------------------------------- /aggregator/types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/aggregator/types.go -------------------------------------------------------------------------------- /bsonx/bsonx.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/bsonx/bsonx.go -------------------------------------------------------------------------------- /bsonx/bsonx_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/bsonx/bsonx_test.go -------------------------------------------------------------------------------- /bsonx/builder.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/bsonx/builder.go -------------------------------------------------------------------------------- /bsonx/builder_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/bsonx/builder_test.go -------------------------------------------------------------------------------- /callback/callback.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/callback/callback.go -------------------------------------------------------------------------------- /client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/client.go -------------------------------------------------------------------------------- /client_e2e_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/client_e2e_test.go -------------------------------------------------------------------------------- /client_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/client_test.go -------------------------------------------------------------------------------- /collection.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/collection.go -------------------------------------------------------------------------------- /collection_e2e_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/collection_e2e_test.go -------------------------------------------------------------------------------- /collection_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/collection_test.go -------------------------------------------------------------------------------- /config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/config.go -------------------------------------------------------------------------------- /creator/creator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/creator/creator.go -------------------------------------------------------------------------------- /creator/creator_e2e_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/creator/creator_e2e_test.go -------------------------------------------------------------------------------- /creator/creator_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/creator/creator_test.go -------------------------------------------------------------------------------- /creator/types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/creator/types.go -------------------------------------------------------------------------------- /database.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/database.go -------------------------------------------------------------------------------- /database_e2e_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/database_e2e_test.go -------------------------------------------------------------------------------- /database_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/database_test.go -------------------------------------------------------------------------------- /deleter/deleter.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/deleter/deleter.go -------------------------------------------------------------------------------- /deleter/deleter_e2e_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/deleter/deleter_e2e_test.go -------------------------------------------------------------------------------- /deleter/deleter_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/deleter/deleter_test.go -------------------------------------------------------------------------------- /deleter/types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/deleter/types.go -------------------------------------------------------------------------------- /field/field.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/field/field.go -------------------------------------------------------------------------------- /field/field_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/field/field_test.go -------------------------------------------------------------------------------- /finder/finder.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/finder/finder.go -------------------------------------------------------------------------------- /finder/finder_e2e_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/finder/finder_e2e_test.go -------------------------------------------------------------------------------- /finder/finder_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/finder/finder_test.go -------------------------------------------------------------------------------- /finder/types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/finder/types.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/go.sum -------------------------------------------------------------------------------- /internal/hook/field/field.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/internal/hook/field/field.go -------------------------------------------------------------------------------- /internal/hook/field/field_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/internal/hook/field/field_test.go -------------------------------------------------------------------------------- /internal/hook/field/strategy.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/internal/hook/field/strategy.go -------------------------------------------------------------------------------- /internal/hook/field/strategy_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/internal/hook/field/strategy_test.go -------------------------------------------------------------------------------- /internal/hook/model/interface.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/internal/hook/model/interface.go -------------------------------------------------------------------------------- /internal/hook/model/model.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/internal/hook/model/model.go -------------------------------------------------------------------------------- /internal/hook/model/model_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/internal/hook/model/model_test.go -------------------------------------------------------------------------------- /internal/pkg/utils/utils.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/internal/pkg/utils/utils.go -------------------------------------------------------------------------------- /mock/aggregator.mock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/mock/aggregator.mock.go -------------------------------------------------------------------------------- /mock/creator.mock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/mock/creator.mock.go -------------------------------------------------------------------------------- /mock/deleter.mock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/mock/deleter.mock.go -------------------------------------------------------------------------------- /mock/finder.mock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/mock/finder.mock.go -------------------------------------------------------------------------------- /mock/updater.mock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/mock/updater.mock.go -------------------------------------------------------------------------------- /model.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/model.go -------------------------------------------------------------------------------- /operation/operation_type.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/operation/operation_type.go -------------------------------------------------------------------------------- /script/fmt.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/script/fmt.sh -------------------------------------------------------------------------------- /script/integrate_test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/script/integrate_test.sh -------------------------------------------------------------------------------- /script/integration_test_compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/script/integration_test_compose.yml -------------------------------------------------------------------------------- /script/mongo/mongo-init.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/script/mongo/mongo-init.sh -------------------------------------------------------------------------------- /script/setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/script/setup.sh -------------------------------------------------------------------------------- /updater/types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/updater/types.go -------------------------------------------------------------------------------- /updater/updater.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/updater/updater.go -------------------------------------------------------------------------------- /updater/updater_e2e_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/updater/updater_e2e_test.go -------------------------------------------------------------------------------- /updater/updater_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chenmingyong0423/go-mongox/HEAD/updater/updater_test.go --------------------------------------------------------------------------------