Skip to content

Commit 47a9e6d

Browse files
authored
Update routing.md (#13)
Fixed typo. Removed extra parenthesis
1 parent 3981825 commit 47a9e6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/routing.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func getArticle(w http.ResponseWriter, r *http.Request) {
6262
return
6363
}
6464
w.Write([]byte(article.Text()))
65-
})
65+
}
6666
```
6767

6868
as you can see above, the url parameters are defined using the curly brackets `{}` with the parameter name in between, as `{date}` and `{slug}`.

0 commit comments

Comments
 (0)