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: buildtags.go
    path of file: ./repos/wails/v2/pkg/commands/buildtags
    
    the code of the file until where you have to start completion: package buildtags

import (
	"errors"
	"strings"

	"github.com/samber/lo"
)

// Pa
    
func Parse(tags string) ([]string, error) {
	if tags == "" {
		return nil, nil
	}

	separator := ""
	if strings.Contains(tags, ",") {
		separator = ","
	}
	if strings.Contains(tags, " ") {
		if separator != "" {
			return nil, errors.New("cannot use both space and comma separated values with `-tags` flag")
		}
		separator = " "
	}
	if separator == "" {
		// We couldn't find any separator, so the whole string is used as user tag
		// Otherwise we would end up with a list of every single character of the tags string,
		// e.g.: `t,e,s,t`
		return []string{tags}, nil
	}

	var userTags []string
	for _, tag := range strings.Split(tags, separator) {
		thisTag := strings.TrimSpace(tag)
		if thisTag != "" {
			userTags = append(userTags, thisTag)
		}
	}
	return userTags, nil
}