# 4.4.4-2 类型接口

首先是`Type`接口，定义如下：

```go
type Type interface {
    // Underlying returns the underlying type of a type
    // w/o following forwarding chains. Only used by
    // client packages (here for backward-compatibility).
    Underlying() Type

    // String returns a string representation of a type.
    String() string
}
```

不同类型之间的差异性很大，所以类型接口的方法只有两个，该接口也是`Object`接口中`Type()`方法的返回类型。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://gocompiler.shizhz.me/golang-bian-yi-qi-lei-xing-jian-cha/4.4.42-lei-xing-shu-ju-jie-gou-jie-kou.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
