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: issue_test.go
    path of file: ./repos/jira-cli/internal/query
    
    the code of the file until where you have to start completion: package query

import (
	"fmt"
	"strings"
	"testing"

	"github.com/stretchr/testify/assert"
)

type issueParamsErr struct {
	history    bool
	watching   bool
	resolution bool
	issueType  bool
	labels     bool
	status     bool
}

type issueFlagParser struct {
	err           issueParamsErr
	noHistor
    
func (tfp *issueFlagParser) GetStringArray(name string) ([]string, error) {
	if tfp.err.labels && name == "label" {
		return []string{}, fmt.Errorf("oops! couldn't fetch label flag")
	}
	if tfp.err.status && name == "status" {
		return []string{}, fmt.Errorf("oops! couldn't fetch status flag")
	}
	if name == "status" {
		return tfp.status, nil
	}
	return tfp.labels, nil
}