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: yannotated_test.go
    path of file: ./repos/kubewatch/tools/yannotated
    
    the code of the file until where you have to start completion: package main

import (
	"io/ioutil"
	"os"
	"testing"
)

// Config is a config.
type Config struct {
	// Foo is fo
    
func TestGo(t *testing.T) {
	tmp, err := ioutil.TempFile("", "")
	if err != nil {
		t.Fatal(err)
	}
	tmp.Close()
	defer os.RemoveAll(tmp.Name())

	err = mainE(Flags{
		Dir:     ".",
		Package: "main",
		Type:    "Bar",
		Output:  tmp.Name(),
		Format:  GoFormat,
	})
	if err != nil {
		t.Fatal(err)
	}

	want := `package main

var yannotated = ` + "`" + `# Baz is baz.
baz: 0
` + "`\n"

	b, err := ioutil.ReadFile(tmp.Name())
	if err != nil {
		t.Fatal(err)
	}

	if got := string(b); got != want {
		t.Fatalf("got:\n%s\nwant:\n%s", got, want)
	}
}