Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/mongodb-developer/docker-golang-example

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/mongodb-developer/docker-golang-example

  • v0.0.0-20210730201243-d2c4e730f18a
  • Source
  • Go
  • Socket score

Version published
Created
Source

Docker with Golang and MongoDB

Instructions (Go Application)

Before trying to run this application, make sure you've added your qualified MongoDB URI to your environment variables path. Example:

export MONGODB_URI="mongodb+srv://demo:password@cluster1.dmhrr.mongodb.net/myFirstDatabase?retryWrites=true&w=majority"

To run the application, execute the following:

go run main.go

To build the application, execute the following:

go build

If you are attempting to cross-compile, make sure you properly define the destination architecture and operating system information.

FAQs

Package last updated on 30 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc