package main
import (
"fmt"
"github.com/tangchen2018/go-utils/http"
)
func main() {
req := http.New(
http.WithUrl("http://www.baidu.com"),
)
if err := req.Do(); err != nil {
panic(err)
}
fmt.Println(string(req.Result))
}
-
Notifications
You must be signed in to change notification settings - Fork 0
tangchen2018/go-utils
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Packages 0
No packages published