Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] unknown field 'Partitioned' in struct literal of type http.Cookie #277

Closed
1 task done
kramesh2005new opened this issue May 8, 2024 · 2 comments
Closed
1 task done
Labels

Comments

@kramesh2005new
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Getting following issue while get this package and building because of filed 'Partitioned' implementation

Screenshot from 2024-05-08 14-53-57

Expected Behavior

The issue unknown field 'Partitioned' in struct literal of type http.Cookie should not happen while get this package and building.

Steps To Reproduce

Get the package using following command

go get github.com/gorilla/sessions

Anything else?

No response

@kramesh2005new kramesh2005new changed the title unknown field 'Partitioned' in struct literal of type http.Cookie [Bug] unknown field 'Partitioned' in struct literal of type http.Cookie May 8, 2024
@jaitaiwan
Copy link
Member

Thanks for the report, I'll have to take a look at how best to sort this.

@jaitaiwan jaitaiwan mentioned this issue May 26, 2024
12 tasks
jaitaiwan added a commit that referenced this issue Jun 15, 2024
The partitioned field is only available in go 1.23+ and so
should be removed from the library as this version does not
yet require v1.23+.

See golang/go#62490 (comment)

Fixes #277
@jaitaiwan
Copy link
Member

Fixed in v1.3.0. Main branch is to be considered unstable till go 1.23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants