Skip to content

core-go/mongo

Repository files navigation

Mongo

Utilities

  • Mongo Client Utilities
  • HealthChecker and ServerInfoChecker
  • PointMapper: map latitude and longitude to mongo point
  • FieldLoader

For Authentication, Sign in, Sign up, Password

  • PasscodeRepository

For Batch Job

  • Inserter
  • Updater
  • Upserter
  • BatchInserter
  • BatchUpdater
  • BatchPatcher
  • BatchWriter

For CRUD, search

  • Loader
  • Writer
  • Searcher

Installation

Please make sure to initialize a Go module before installing core-go/mongo:

go get -u github.com/core-go/mongo

Import:

import "github.com/core-go/mongo"