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: cache.go
    path of file: ./repos/kubernetes/vendor/github.com/fxamacker/cbor/v2
    
    the code of the file until where you have to start completion: // Copyright (c) Faye Amacker. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project roo
    
func getTypeInfo(t reflect.Type) *typeInfo {
	if v, _ := typeInfoCache.Load(t); v != nil {
		return v.(*typeInfo)
	}
	tInfo := newTypeInfo(t)
	typeInfoCache.Store(t, tInfo)
	return tInfo
}