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

Application fails to compile #2

Open
sharms opened this issue Jun 15, 2020 · 0 comments
Open

Application fails to compile #2

sharms opened this issue Jun 15, 2020 · 0 comments

Comments

@sharms
Copy link

sharms commented Jun 15, 2020

This application is recommended as part of the Gitpod Getting Started prompt, however does not build:

# github.com/demo-apps/go-gin-app
./handlers.user.go:29: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:53: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:73: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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant