Let's just get our Go project set up and running. We'll start with a simple "Hello, World!" program.
go mod init MODULE_NAME
I recommend naming the module by its remote Git location (you should store all your projects in Git!). For example, my GitHub name is wagslane so my module name might be github.com/wagslane/crawler.
go build -o crawler
./crawler
You should see "Hello, World!" printed to the console.
Run and submit the CLI tests from your project's root.
Using go build and ./crawler is a bit cumbersome. Building is best for production code, because it means the person running your program doesn't need to have Go installed.
However, for development, you can use go run . to compile and run your program in one step.