You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: errorcheck.go
    path of file: ./repos/goreporter/linters/errorcheck
    
    the code of the file until where you have to start completion: // Package errcheck is the library used to implement the errcheck command-line tool.
//
// Note: The API of this package has not been finalized and may change at any point.
package errorcheck

import (
	"bufio"
	"errors"
	"fmt"
	"go/ast"
	"go/build"
	"go/token"
	"go/types"
	"os"
	"path/filepath"
	"regexp"
	"sort"
	"strings"
	"sync"

	"golang.org/x/tools/go/loader"
)

var 
    
func reportUncheckedErrors(e *UncheckedErrors, verbose bool) []string {
	uncheckedErrorArray := make([]string, 0)
	wd, err := os.Getwd()
	if err != nil {
		wd = ""
	}
	for _, uncheckedError := range e.Errors {
		pos := uncheckedError.Pos.String()

		newPos, err := filepath.Rel(wd, pos)
		if err == nil {
			pos = newPos
		}

		if verbose && uncheckedError.FuncName != "" {
			uncheckedErrorArray = append(uncheckedErrorArray, fmt.Sprintf("%s:\t%s\t%s\n", pos, uncheckedError.FuncName, uncheckedError.Line))
		} else {
			uncheckedErrorArray = append(uncheckedErrorArray, fmt.Sprintf("%s:\t%s\n", pos, uncheckedError.Line))
		}
	}
	return uncheckedErrorArray
}