golang输入输出(input/output)

func main() { 
p := make([]byte, num)
    n, err := reader.Read(p)
    if n > 0 {
        fmt.println("读取到内容",p[:n]) 
    }
}
原文地址:https://www.cnblogs.com/qlshao/p/12864093.html