Fix typo in lectures/01-basics/lecture.slide
This commit is contained in:
parent
f7a0bc4b03
commit
76a57a2d1a
1 changed files with 2 additions and 2 deletions
|
@ -590,7 +590,7 @@
|
|||
|
||||
* multiple return values
|
||||
|
||||
func Get(url string) (*http.Responce, error) {
|
||||
func Get(url string) (*http.Response, error) {
|
||||
// ...
|
||||
if err != nil {
|
||||
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)
|
||||
return Get(url)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue