Skip to content

rogpeppe/httpfetch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

httpfetch

-- import "github.com/rogpeppe/httpfetch"

Package httpfetch is an illustrative package used for a talk on testing in Go. The talk is at http://talks.godoc.org/github.com/rogpeppe/talks/testing.talk/testing.slide .

Usage

func GetURLAsString

func GetURLAsString(url string) (string, error)

GetURLAsString makes a GET request to the given URL and returns the result as a string.

About

An illustration of testing in Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages