December 2021
Intermediate to advanced
510 pages
11h 20m
English
Start by creating the directory structure for your Pomodoro application under your book’s root directory:
| | $ mkdir -p $HOME/pragprog.com/rggo/interactiveTools/pomo |
| | $ cd $HOME/pragprog.com/rggo/interactiveTools/pomo |
Next, initialize the Go module for this project:
| | $ cd $HOME/pragprog.com/rggo/interactiveTools/pomo |
| | $ go mod init pragprog.com/rggo/interactiveTools/pomo |
| | go: creating new go.mod: module pragprog.com/rggo/interactiveTools/pomo |
Let’s start this application by developing the pomodoro package that contains the business logic to create and use the pomodoro timer. By creating a separate package for the business logic, you can test it independently of ...
Read now
Unlock full access