forseti / go-workout-01

Go's workout 01 - Learn Go with Tests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-workout-01

Go's workout 01, based on Learn Go with Tests

Go commands

To run test

go test

To run test with coverage

go test -cover

To run test (verbose)

go test -test.v

To run a (particular) test

go test -run <TestName>
go test -run TestArea

To run test with benchmark

go test -bench=<LOCATION>
go test -bench=.

To run test with the race detector

go test -race

To find errors not caught by the compiler

go vet

About

Go's workout 01 - Learn Go with Tests

License:Apache License 2.0


Languages

Language:Go 100.0%