const object … type TypeResolver … // Resolve resolves the TypeRef for the given type name // that starts with "Object". // This is the unstructured version, which means the // returned TypeRef does not refer to the schema. func (r *TypeResolver) Resolve(name string) (common.TypeRef, bool) { … }