Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 396 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 396 Bytes

Mongodb

Requirements

  • Go 1.16 lub nowszy
  • MongoDB (wersja, którą testowałeś i zalecasz)

Install

To install the library, use the go get command:

Varibles

MONGO_HOST=localhost MONGO_PORT=27017 MONGO_DBNAME=database MONGO_USERNAME=user MONGO_PASSWORD=pass

Set the environment variable from the command line

export ENV=dev

loading variables from a file

source .env