Tags: syntaqx/cookie
Tags
Bump golangci/golangci-lint-action from 6 to 8 (#19) Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6 to 8. - [Release notes](https://github.com/golangci/golangci-lint-action/releases) - [Commits](golangci/golangci-lint-action@v6...v8) --- updated-dependencies: - dependency-name: golangci/golangci-lint-action dependency-version: '8' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Chase Pierce <[email protected]>
cookie.Manager and DefaultManager (#8) * `cookie.Manager` is now the primary API to the package * `cookie.DefaultManager` is initialized and provides API stability for the global `Set/Get/...` methods. * `Options` API Change: * `cookie.NewManager(cookie.WithSigningKey(signingKey))` * Introduction of `CustomTypeHandler` so we no longer impose a specific dependency (gofrs/uuid) * Significant upgrade to the `PopulateFromCookies` functionality * File organization for better separation of functionality and tests * Removal of `DefaultOptions` - The `mergeOptions` functionality wasn't working well anyways. * Adds `omitempty` to silently ignore missing cookies.