Fix typo in example
This commit is contained in:
@@ -85,6 +85,6 @@ func main() {
|
|||||||
log.Println("Starting URL shortener on localhost:8080")
|
log.Println("Starting URL shortener on localhost:8080")
|
||||||
err = http.ListenAndServe("localhost:8080", nil)
|
err = http.ListenAndServe("localhost:8080", nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatalln("Unable to start web server:" err)
|
log.Fatalln("Unable to start web server:", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user