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: model.go
    path of file: ./repos/zrok/controller/emailUi
    
    the code of the file until where you have to start completion: package emailUi

import (
	"bytes"
	"github.com/pkg/errors"
	"text/template"
)

type WarningEmail struct {
	EmailAddress string
	Detail       string
	Version      string
}

func (we WarningEmail) MergeTemplate(filenam
    
func (we WarningEmail) MergeTemplate(filename string) (string, error) {
	t, err := template.ParseFS(FS, filename)
	if err != nil {
		return "", errors.Wrapf(err, "error parsing warning email template '%v'", filename)
	}
	buf := new(bytes.Buffer)
	if err := t.Execute(buf, we); err != nil {
		return "", errors.Wrapf(err, "error executing warning email template '%v'", filename)
	}
	return buf.String(), nil
}