Thread-safe CookieJar, SameSite, Google countries #42
Reference in New Issue
Block a user
Delete Branch "enhance/cookies-and-google"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
staticCookieJarthread-safe withsync.RWMutex(reads use RLock, writes use Lock)SameSitefield toCookiestruct withSameSiteStrict,SameSiteLax,SameSiteNoneconstants"country" + strings.ToUpper(c.Country)supporting all countriesTest plan
go build ./...passesgo test ./...passes (existing tests updated for new struct layout)go vet ./...passesCloses #20, #22, #23
Parent: #31 (Phase 3, PR 11)