I have been trying to use the go build command but I keep getting this message, C:\Users\shumb>go build can't load package: package .: no Go files in C:\Users\shumb
I have tried searching on Google but have found no answers
Obviously there are no go files in your folder as the error message suggests, use cd first to enter the directory that contains your source code.
@NobbZ C:\Users\***** ****** is what I get, should their be a Go Folder in there? Sorry if my questions are dumb, I’ve just started learning how to use Go.
Don’t worry. All of us started from some place.
Only you know where you have put your go files.
And as I said, you need to use cd to navigate there. Used without a path, it usually just prints your current working dir, If though you provide a path to it you change your working dir. If this doesn’t mean anything to you, you should do a small tutorial about how to use a terminal first.
Alright thx!
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.