You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NY 94682e39a5
first
1 month ago
..
http first 1 month ago
.gitignore first 1 month ago
README.md first 1 month ago
go.mod first 1 month ago
main.go first 1 month ago

README.md

Example

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))
}