Skip to content

error of too many arguments #26

@bonviesinfo

Description

@bonviesinfo

hi
when I run the code it shows
"./handlers.user.go:31:14: too many arguments in call to c.SetCookie
have (string, string, number, string, string, http.SameSite, bool, bool)
want (string, string, int, string, string, bool, bool)
./handlers.user.go:58:13: too many arguments in call to c.SetCookie
have (string, string, number, string, string, http.SameSite, bool, bool)
want (string, string, int, string, string, bool, bool)
./handlers.user.go:80:14: too many arguments in call to c.SetCookie
have (string, string, number, string, string, http.SameSite, bool, bool)
want (string, string, int, string, string, bool, bool)"

could you help sove it ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions