golangspell-mongodb

command module
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
gateway

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL