An open API service indexing awesome lists of open source software.

https://github.com/yogeshpandey/gocookie-string-reader

Cookie parser for go
https://github.com/yogeshpandey/gocookie-string-reader

cookie-parser go

Last synced: about 1 year ago
JSON representation

Cookie parser for go

Awesome Lists containing this project

README

          

# Cookie string parser for go

Reads cookie string into http.Cookie

## Getting Started

Get library
```bash
go get github.com/yogeshpandey/gocookie-string-reader
```

Use library

```go
import cookieParser "github.com/yogeshpandey/gocookie-string-reader"
import "fmt"

c:=cookieParser.ParseToCookie("Cookie-1=v$1; c2=v2")
fmt.Println("%#v",c)

```