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: dict_type.go
    path of file: ./repos/macdriver/generate/typing
    
    the code of the file until where you have to start completion: package typing

import "C"
import (
	"github.com/progrium/macdriver/generate/modules"
	"github.com/progrium/macdriver/internal/set"
)

var _ Type = (*DictType)(nil)

// DictType for objc Dictionary types, the element should be StringType or ClassType
type DictType struct {
	KeyType   Type
	ValueType Type
}

func (d *DictType
    
func (d *DictType) GoName(currentModule *modules.Module, receiveFromObjc bool) string {
	if _, ok := UnwrapAlias(d.KeyType).(*StringType); ok {
		if _, ok = d.ValueType.(*ProtocolType); !ok {
			return "map[" + d.KeyType.GoName(currentModule, receiveFromObjc) + "]" + d.ValueType.GoName(currentModule, receiveFromObjc)
		}
	}
	name := "Dictionary"
	if !receiveFromObjc {
		name = "Dictionary"
	}
	return FullGoName(*modules.Get("foundation"), name, *currentModule)
}