mirror of
https://gitee.com/johng/gf.git
synced 2024-12-01 11:48:09 +08:00
13 lines
180 B
Go
13 lines
180 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"github.com/gogf/gf/net/ghttp"
|
|
)
|
|
|
|
func main() {
|
|
r, err := ghttp.Get("http://127.0.0.1:8199/11111/11122")
|
|
fmt.Println(err)
|
|
fmt.Println(r.Header)
|
|
}
|