Codebase list golang-github-vbauerster-mpb / f204136
ProxyReader example err handling Vladimir Bauer 8 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
6262 func ExampleBar_ProxyReader() {
6363 p := mpb.New()
6464 // make http get request
65 resp, _ := http.Get(url)
65 resp, err := http.Get(url)
6666 if err != nil {
6767 return err
6868 }