Project Name
CLI Task Manager TODOs List
Index
Information
CLI tool that can be used to manage your TODOs in the terminal.
Tecnologies
Instalation
Clonando o projeto
$ cd $PROJECT_HOME
$ git clone [email protected]:moganxumerle/study-go-todolist.git
# Dependencies instalation
$ go get
# Removing unwanted dependencies
$ go mod tidy
Environment
Setting environment variables
Name | Description | Default | Mandatory |
---|---|---|---|
USER | User name | |
Starting
Building the project
# run the command below to build the application and make sure nothing is broken
$ go build
Executing the project
$ go run main.go
Tests
# To run the automated tests run the command below in the terminal inside the application folder
$ go test -v -cover ./...
# To generate the interface showing all files and lines "Covered", "Not Covered" e "Not Tracked":
$ go test ./... -coverprofile fmtcoverage.html fmt
$ go test ./... -coverprofile cover.out
$ go tool cover -html=cover.out
$ go tool cover -html=cover.out -o cover.html
$ open 'cover.html' file
Current developers: