#!/bin/sh
PACKAGE=mypkg
# set mode
go test -coverprofile=coverage.out $PACKAGE
go tool cover -func=coverage.out
go tool cover -html=coverage.out
# count mode
go test -covermode=count -coverprofile=count.out $PACKAGE
go tool cover -func=count.out
go tool cover -html=count.out
# more info: http://blog.golang.org/cover
Page Updates |
---|
Apache Bench load testing |
Console::Blackjack |
RetroPie Arcade |
Factorio on systemd |
Generate new Factorio map |
Recent Articles |
---|
Install xfce4 on Debian |
Console Blackjack in Perl |
Selenium::WebDriver::Error::UnknownError |
Game of Life in C++ using the SDL2 |
PigPen (dots and boxes) in C++ using the SDL2 |
Copyright © 2005 - 2021
All Rights Reserved