Skip to content

tangchen2018/go-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages