go-gin-app icon indicating copy to clipboard operation
go-gin-app copied to clipboard

Application fails to compile

Open sharms opened this issue 4 years ago • 0 comments

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)

sharms avatar Jun 15 '20 16:06 sharms