func main() { p := make([]byte, num) n, err := reader.Read(p) if n > 0 { fmt.println("读取到内容",p[:n]) } }