network/types.go
func (t *CookieSameSite) UnmarshalEasyJSON(in *jlexer.Lexer) {
	switch CookieSameSite(in.String()) {
	case CookieSameSiteStrict:
		*t = CookieSameSiteStrict
	case CookieSameSiteLax:
		*t = CookieSameSiteLax
	case CookieSameSiteExtended:
		*t = CookieSameSiteExtended
	case CookieSameSiteNone:
		*t = CookieSameSiteNone

	default:
		in.AddError(errors.New("unknown CookieSameSite value"))
	}
}
func (t *CookieSameSite) UnmarshalEasyJSON(in *jlexer.Lexer) {
	switch CookieSameSite(in.String()) {
	case CookieSameSiteStrict:
		*t = CookieSameSiteStrict
	case CookieSameSiteLax:
		*t = CookieSameSiteLax
	case CookieSameSiteExtended:
		*t = CookieSameSiteExtended
	case CookieSameSiteNone:
		*t = CookieSameSiteNone

	default:
		in.AddError(errors.New("unknown CookieSameSite value"))
	}
}
// UnmarshalEasyJSON satisfies easyjson.Unmarshaler.