A simple package for parsing Netscape Cookie File formatted cookies into Go Cookies
go get -u github.com/MercuryEngineering/CookieMonster
import (
"fmt"
"github.com/MercuryEngineering/CookieMonster"
)
cookies, err := cookiemonster.ParseFile("cookies.txt")
if err != nil {
panic(err)
}
for _, cookie := range cookies {
fmt.Printf("%s=%s\n", cookie.Name, cookie.Value)
}