Fix typo in lectures/01-basics/lecture.slide

This commit is contained in:
Eugene K 2021-07-11 13:45:50 +00:00 committed by Arseny Balobanov
parent f7a0bc4b03
commit 76a57a2d1a

View file

@ -590,7 +590,7 @@
* multiple return values * multiple return values
func Get(url string) (*http.Responce, error) { func Get(url string) (*http.Response, error) {
// ... // ...
if err != nil { if err != nil {
return nil, err return nil, err
@ -598,7 +598,7 @@
// ... // ...
} }
func logAndGet(url string) (*http.Responce, error) { func logAndGet(url string) (*http.Response, error) {
log.Printf("logAndGet %s", url) log.Printf("logAndGet %s", url)
return Get(url) return Get(url)
} }