Files
gf/.example/net/ghttp/client/get.go
2021-10-11 21:41:56 +08:00

13 lines
183 B
Go

package main
import (
"fmt"
"github.com/gogf/gf/v2/net/ghttp"
)
func main() {
r, err := ghttp.Get("http://127.0.0.1:8199/11111/11122")
fmt.Println(err)
fmt.Println(r.Header)
}