```
func main() {
fmt.Printf("type:%T\n", error(nil))
fmt.Printf("type:%T\n", (*error)(nil))
fmt.Printf("type:%T\n", (*error)(nil))
var a error
var b int
fmt.Printf("type:%T\n", a)
fmt.Printf("type:%T\n", b)
}
```
输出:
```
type:<nil>
type:*error
type:*error
type:<nil>
type:int
```