Skip to content

Commit

Permalink
fix: Syntax issues fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
kashishbehl authored and AlexVulaj committed May 4, 2024
1 parent d53f077 commit 39eb010
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cookie_go111.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func newCookieFromOptions(name, value string, options *Options) *http.Cookie {
Secure: options.Secure,
HttpOnly: options.HttpOnly,
SameSite: options.SameSite,
Partitioned options.Partitioned,
Partitioned: options.Partitioned,

Check failure on line 19 in cookie_go111.go

View workflow job for this annotation

GitHub Actions / unit (1.20, ubuntu-latest)

unknown field Partitioned in struct literal of type http.Cookie

Check failure on line 19 in cookie_go111.go

View workflow job for this annotation

GitHub Actions / scan (1.20)

unknown field Partitioned in struct literal of type http.Cookie

Check failure on line 19 in cookie_go111.go

View workflow job for this annotation

GitHub Actions / lint (1.20)

unknown field Partitioned in struct literal of type http.Cookie

Check failure on line 19 in cookie_go111.go

View workflow job for this annotation

GitHub Actions / unit (1.20, macos-latest)

unknown field Partitioned in struct literal of type http.Cookie

Check failure on line 19 in cookie_go111.go

View workflow job for this annotation

GitHub Actions / lint (1.21)

unknown field Partitioned in struct literal of type http.Cookie

Check failure on line 19 in cookie_go111.go

View workflow job for this annotation

GitHub Actions / scan (1.21)

unknown field Partitioned in struct literal of type http.Cookie

Check failure on line 19 in cookie_go111.go

View workflow job for this annotation

GitHub Actions / unit (1.21, ubuntu-latest)

unknown field Partitioned in struct literal of type http.Cookie

Check failure on line 19 in cookie_go111.go

View workflow job for this annotation

GitHub Actions / unit (1.21, macos-latest)

unknown field Partitioned in struct literal of type http.Cookie
}

}
2 changes: 1 addition & 1 deletion cookie_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func TestNewCookieFromOptions(t *testing.T) {
MaxAge: v.maxAge,
Secure: v.secure,
HttpOnly: v.httpOnly,
Partitioned: v.partitioned
Partitioned: v.partitioned,
}
cookie := newCookieFromOptions(v.name, v.value, options)
if cookie.Name != v.name {
Expand Down

0 comments on commit 39eb010

Please sign in to comment.