Categorygithub.com/golangspell/golangspell-mongodb
modulepackage
0.1.23
Repository: https://github.com/golangspell/golangspell-mongodb.git
Documentation: pkg.go.dev

# README

golangspell-mongodb

Golang Spell MongoDB is the spell designed for adding the MongoDB infrastructure and application logic to your Golangspell Microservices

Golang Spell

The Golang Spell MongoDB contains the specific commands (and the respective templates) for building MongoDB backed projects in the platform Golang Spell.

Test and coverage

Run the tests

TESTRUN=true go test ./... -coverprofile=cover.out

go tool cover -html=cover.out

Install golangci-lint and run lint:

golangci-lint run

Install

To install the golangspell-mongodb spell use the command

golangspell addspell github.com/golangspell/golangspell-mongodb golangspell-mongodb

This action should be done only once. After doing it, the golangspell-mongodb Spell is installed in your computer and ready for being used

Update

To update the golangspell-core version use the command

golangspell updatespell github.com/golangspell/golangspell-mongodb golangspell-mongodb

After installing, the Golangspell MongoDB commands will be available in the platform help:

golangspell help

Before executing the Golangspell MongoDB commands (mongodbinit, for example), it is necessary to be inside the root directory of an application initialized with the command:

golangspell init [module] [appname]

More details can be found with the command:

golangspell help init

Find more insights on how to use golangspell here:

Golang Spell logo

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author