@millamdl Hi ! Firstly, you’re doing everything correct in this lab!
Go, the language, has recently gone through an update and it seems to be affecting the way modules work. This course was written specifically for Go 1.15 and the Dockerfile in this course is using Go 1.16 (latest) which is introducing the breaking change.
There is a super simple fix you can implement so that you can continue your course while we update the content of this lab.
Replace the contents of your
Dockerfile with what you see below and you should be able to continue:
COPY . .
RUN go get -d -v ./...
RUN go install -v ./...
This change in Docker image tag will force the compatible Go version !