Skip to content

Commit c8b0a1f

Browse files
committed
Fix syntax highlighting err
1 parent 19c6592 commit c8b0a1f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

en/06.1.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,12 @@ Go uses the `SetCookie` function in the `net/http` package to set cookies:
5959
}
6060
```
6161
Here is an example of setting a cookie:
62+
6263
```Go
6364
expiration := time.Now().Add(365 * 24 * time.Hour)
6465
cookie := http.Cookie{Name: "username", Value: "astaxie", Expires: expiration}
6566
http.SetCookie(w, &cookie)
66-
```  
67+
```
6768

6869
## Fetch cookies in Go
6970

0 commit comments

Comments
 (0)