func Do() {
	ckr := run(os.Args[1:])
	ckr.Name = "Mailq"
	ckr.Exit()
}
Do the plugin
package checkmailq
import (
	"fmt"
	"os"
	"os/exec"
	"regexp"
	"strconv"
	"strings"
	"github.com/jessevdk/go-flags"
	"github.com/mackerelio/checkers"
)