graph TDA[整型<br>int, int8, int16, int32, int64] -->|类型转换| B[浮点型<br>float32, float64]B -->|类型转换| AA -->|类型转换| C[布尔型<br>bool]C -->|类型转换| AB -->|类型转换| D[复数型<br>complex64, complex128]D -->|类型转换| BA -->|strconv.Itoa| E[字符串<br>string]E -->|strconv.Atoi<br>strconv.ParseInt| AB -->|strconv.FormatFloat| EE -->|strconv.ParseFloat| BC -->|strconv.FormatBool| EE -->|strconv.ParseBool| CA -->|类型转换| F[字节型<br>byte, rune]F -->|类型转换| AE -->|UTF-8 编码<br>strings.Bytes| FF -->|UTF-8 解码<br>string| EG[其他类型<br>slice, array, map, struct, pointer] -->|接口或类型断言| H[通过接口或类型断言]H -->|接口或类型断言| GA -->|类型转换| GB -->|类型转换| GC -->|类型转换| GD -->|类型转换| GE -->|类型转换| GF -->|类型转换| Gsubgraph strconv包A -->|strconv.Atoi<br>strconv.ParseInt| EE -->|strconv.Itoa<br>strconv.FormatInt| AB -->|strconv.FormatFloat| EE -->|strconv.ParseFloat| BC -->|strconv.FormatBool| EE -->|strconv.ParseBool| Cendsubgraph 字符串与字节型E -->|strings.Bytes| FF -->|string| Eendstyle A fill:#f9f,stroke:#333,stroke-width:2pxstyle B fill:#ccf,stroke:#333,stroke-width:2pxstyle C fill:#cfc,stroke:#333,stroke-width:2pxstyle D fill:#ccf,stroke:#333,stroke-width:2pxstyle E fill:#fcf,stroke:#333,stroke-width:2pxstyle F fill:#f9f,stroke:#333,stroke-width:2pxstyle G fill:#f9f,stroke:#333,stroke-width:2pxstyle H fill:#f9f,stroke:#333,stroke-width:2pxend