golang-samples icon indicating copy to clipboard operation
golang-samples copied to clipboard

fix: set the default mongo port to be the actual mongo port

Open tpryan opened this issue 2 years ago • 1 comments

Currently pointing to 80 for historical reasons in the base tutorial. Let's change that.

tpryan avatar Jul 07 '22 17:07 tpryan

Under normal circumstances yes. But in a constrained sample where golang is not the main topic, I struggled with how to do this. I came to the conclusion that the less I ask of the user with this sample, the better. So hard code the port.

tpryan avatar Jul 07 '22 17:07 tpryan