

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 5
click for more info
Not enough gems
Cost: 6 gems
1: Welcome to Build a Pokedex
incomplete
2: Build
incomplete
3: Tests
incomplete
4: REPL
incomplete
5: Help and Exit
incomplete
This lesson's interactive features are locked, please to keep using them
By the end of this step, you'll have a simple working program in Go!
Throughout this project, we'll suggest file names and locations to keep your code organized. If you're unsure, follow our structure. You can organize files differently, but keep package main in the project root so the CLI tests can use go run ..
go mod init MODULE_NAMEI 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 buildThe executable will be named after the directory containing the main.go file, hence mine was pokedexcli. You should .gitignore the executable.
./pokedexcliIt should print "Hello, World!" to the console!
Run and submit the CLI tests from the root of the repo.