Go语言标准包之用io包模拟curl

最后一个书上的标准包,但真正学习的路才开始。。。 package main import ( "bytes" "fmt" "os" "io" "log" "net/http" ) func main() { var b bytes.Buffer b.Write([]byte("Hello ")) fmt.Fprintf(&b, "World") b.WriteT
相关文章
相关标签/搜索