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: fingerprint.go
    path of file: ./repos/highlight/backend/errorgroups
    
    the code of the file until where you have to start completion: package errorgroups

import (
	"strconv"
	"strings"

	"github.com/highlight-run/highlight/backend/model"
	privateModel "github.com/highlight-run/highlight/backend/private-graph/graph/model"
)

func GetFingerprints(projectID int, errorTraces []*privateModel.ErrorTrace) []*model.ErrorFingerprint {
	fingerprints := []*model.ErrorFingerprint{}

	for idx, frame := range errorTraces {
		codeVal := joinStringPtrs(frame.LinesBefore, frame.LineContent, frame.LinesAfter)
		if codeVal != "" {
			code := m
    
func GetFingerprints(projectID int, errorTraces []*privateModel.ErrorTrace) []*model.ErrorFingerprint {
	fingerprints := []*model.ErrorFingerprint{}

	for idx, frame := range errorTraces {
		codeVal := joinStringPtrs(frame.LinesBefore, frame.LineContent, frame.LinesAfter)
		if codeVal != "" {
			code := model.ErrorFingerprint{
				ProjectID: projectID,
				Type:      model.Fingerprint.StackFrameCode,
				Value:     codeVal,
				Index:     idx,
			}
			fingerprints = append(fingerprints, &code)
		}

		metaVal := joinStringPtrs(frame.FileName, frame.FunctionName) +
			joinIntPtrs(frame.LineNumber, frame.ColumnNumber)
		if metaVal != "" {
			meta := model.ErrorFingerprint{
				ProjectID: projectID,
				Type:      model.Fingerprint.StackFrameMetadata,
				Value:     metaVal,
				Index:     idx,
			}
			fingerprints = append(fingerprints, &meta)
		}
	}
	return fingerprints
}