Skip to content

Update code to be in line with tutorial and golangci-lint#1

Open
shaneHowearth wants to merge 4 commits intoruanbekker:masterfrom
shaneHowearth:master
Open

Update code to be in line with tutorial and golangci-lint#1
shaneHowearth wants to merge 4 commits intoruanbekker:masterfrom
shaneHowearth:master

Conversation

@shaneHowearth
Copy link

Changes to allow the code to be run locally, with a container or local instance of mongodb listening on port 27017

Person names changed to match example data

linter changes (err was shadowed and Person struct is exported so should have a comment)

- using localhost means that a mongo instance either in a container or locally installed can be listening to localhost:27017
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.

1 participant