go-carpet
Tool for show test coverage in terminal for Go source files
File Explorer
Download Latest Version (.zip)- go.yml
- release.yml
- empty_test.go
- file.golang
- empty_test.go
- empty_test.go
- empty_test.go
- colored_00.txt
- colored_01.txt
- colored_02.txt
- colored_03.txt
- cover_00.out
- cover_01.out
- cover_02.out
- empty_test.go
- file_00.golang
- file_01.golang
- .goreleaser.yml
- ast.go
- ast_test.go
- doc.go
- go-carpet.1
- go-carpet.go
- go-carpet_test.go
- go.mod
- go.sum
- LICENSE
- Makefile
- mod.go
- mod_test.go
- README.md
- terminal_posix.go
- terminal_windows.go
- unix_only_test.go
- utils.go
- utils_test.go
# Installation Guide
1. Get the code
git clone https://github.com/msoap/go-carpet
Downloads the entire project code from GitHub to your computer.
cd go-carpet
Moves into the project folder you just downloaded.
2. Official Install Script
Easy Recommendedgo install github.com/msoap/go-carpet@latest
Downloads and installs the specified version directly β no need to clone the repo yourself.
brew tap msoap/tools
Registers this project's repository (tap) with Homebrew.
brew install go-carpet
Installs the pre-built package via Homebrew β no source build required.
After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.
Pulled directly from this repo's README.
3. Go
MediumPrerequisites
go install github.com/msoap/go-carpet@latest
Downloads and installs the specified version directly β no need to clone the repo yourself.
If the build finishes without errors, it worked. If you used go run ., check the terminal output.
Pulled directly from this repo's README.
4. Make
MediumPrerequisites
- Git Needed to download the project code from GitHub.
- Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
make
Compiles the code based on the generated build configuration to produce an executable.
If it finishes without errors, it worked. Try running the generated executable directly.
// repository documentation
Was this content helpful?
(0 ratings)
