So I made an error in my code can be found here: https://github.com/jasric89/headfirstgo/tree/master/Chapter5/datafile I've rectified that error and re pushed to my repo. I then tried editing my mod file to be v1.2 as I have noticed my average program found here: https://github.com/jasric89/headfirstgo/tree/master/Chapter5/average is not pulling through the lastest change from my data file program. Even though Ive ran go get github.com/jasric89/headfirstgo/Chapter5/datafile@upgrade
Sooo how on earth do I update modules? I was following this: https://www.mend.io/free-developer-tools/blog/golang-dependency-management/ and this: https://go.dev/ref/mod again Go Docs are not helpful just a load of wish wash.