go-gin-app
go-gin-app copied to clipboard
Application fails to compile
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)