We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Build

By the end of this step, you'll have a simple working program in Go!

Assignment

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/pokedexcli.

go build

The executable will be named after the directory containing the main.go file, hence mine was pokedexcli. You should .gitignore the executable.

./pokedexcli

It should print "Hello, World!" to the console!

Run and submit the CLI tests from the root of the repo.