This package context is only available in go versions 1.7 and after you try to check all the dockerfiles in your specified folders e.g. microservices-docker-go-mongodb-master in your link and change
from golang:1.6 to golang:1.7
Next you need to change the port number of the db in your file docker-compose.yml
As you have already installed mongodb 27017 you must change it.