Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
syntaqx authored Jun 28, 2024
1 parent a990f28 commit c358e50
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,15 @@
[![Go Report Card](https://goreportcard.com/badge/github.com/syntaqx/cookie)](https://goreportcard.com/report/github.com/syntaqx/cookie)
[![codecov](https://codecov.io/gh/syntaqx/cookie/graph/badge.svg?token=2YEeUinfQe)](https://codecov.io/gh/syntaqx/cookie)

Cookies, but with structs
Cookies, but with structs, for happiness.

```go
import (
"github.com/syntaqx/cookie"
)

...

type User struct {
ID uuid.UUID `cookie:"user_id"`
Name string `cookie:"user_name"`
Expand Down

0 comments on commit c358e50

Please sign in to comment.