Try running just go build. When you give it a go file as an argument, it will not look for other go files. You can also do go build *.go
Try running just go build. When you give it a go file as an argument, it will not look for other go files. You can also do go build *.go