diff --git a/en/06.1.md b/en/06.1.md index 0fa93d0d..fa331e18 100644 --- a/en/06.1.md +++ b/en/06.1.md @@ -59,11 +59,12 @@ Go uses the `SetCookie` function in the `net/http` package to set cookies: } ``` Here is an example of setting a cookie: + ```Go expiration := time.Now().Add(365 * 24 * time.Hour) cookie := http.Cookie{Name: "username", Value: "astaxie", Expires: expiration} http.SetCookie(w, &cookie) -```   +``` ## Fetch cookies in Go