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: util.go
    path of file: ./repos/streamdal/apps/cli/util
    
    the code of the file until where you have to start completion: package util

import (
	"fmt"
	"strings"

	"github.com/cactus/go-statsd-client/v5/statsd"
	"github.com/charmbracelet/log"
	"github.com/pkg/errors"

	"github.com/streamdal/streamdal/libs/pro
    
func StrOperationTypeToProtos(operationType string) protos.OperationType {
	switch operationType {
	case "consumer":
		return protos.OperationType_OPERATION_TYPE_CONSUMER
	case "producer":
		return protos.OperationType_OPERATION_TYPE_PRODUCER
	default:
		return protos.OperationType_OPERATION_TYPE_UNSET
	}
}