I am very excited to announce the release of Goa v3.2.0! This release includes a few key improvements as well as many bug fixes.
HTTP Cookies v3.2.0 adds native support for HTTP cookies in Goa designs. Prior to this release cookies could be read and written by Goa services using HTTP middlewares that would read (or inject) the values from (into) the context. For example:
// NOT NECESSARY ANYMORE package cookie type cookieKeyType int // private so key is unique var CookieKey cookieKeyType = iota + 1 // ReadCookie returns a HTTP middleware that reads the value of the cookie with // the given name and adds it to the request context under cookiectx.
↧