How to convert a byte[] to io.Reader in Go directly? 如何将 byte [] 转换为io。 直接在Go中阅读 ? You can use the NewReader() func from the bytes package of Go to convert bytes to io.Reader. 您可以使用NewReader()从FUNC bytes 包围棋的转换bytes到io.Reader 。 For example, 例如, reader := bytes.NewRea