Command
go test ./...Explanation
Execute Go test files and generate coverage reports for your code.
Examples
Run all tests
go test ./...Run tests with verbose output
go test -vRun tests with coverage
go test -covergo test ./...Execute Go test files and generate coverage reports for your code.
Run all tests
go test ./...Run tests with verbose output
go test -vRun tests with coverage
go test -cover