Skip to content

DOCSP-61802- Add Go Get Started sample app - #4

Merged
tmcneil-mdb merged 2 commits into
mainfrom
add-go-get-started-examples
Jul 28, 2026
Merged

DOCSP-61802- Add Go Get Started sample app#4
tmcneil-mdb merged 2 commits into
mainfrom
add-go-get-started-examples

Conversation

@tmcneil-mdb

@tmcneil-mdb tmcneil-mdb commented Jul 24, 2026

Copy link
Copy Markdown
Collaborator

Summary | JIRA

Adds the Go Get Started sample application under go/hello-world, mirroring the existing node/hello-world sample. The app connects to a MongoDB deployment using the connection string in the MONGODB_URI environment variable, seeds a few sample product documents into theget_started.products collection, then queries and prints one of them.

  • go/hello-world/main.go — sample application
  • go/hello-world/go.mod / go/hello-world/go.sum — targets Go 1.25.1, MongoDB Go Driver v2.8.0
  • go/hello-world/README.md — setup and run instructions
  • go/hello-world/.gitignore — ignores build artifacts
  • Removed the placeholder go/README.md
  • Added the Go entry to the root README

This is the sample referenced by the Go Get Started docs page: [merged into feature branch]

@mongoKart mongoKart left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@tmcneil-mdb
tmcneil-mdb merged commit 0cececb into main Jul 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants