From c6b9f67933afe92d044f2e0b8404bd0a3a55801a Mon Sep 17 00:00:00 2001 From: Alex Myasoedov Date: Mon, 5 Mar 2018 20:24:43 -0500 Subject: [PATCH] Fix typo. --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 7a6b603..ffff00a 100644 --- a/main.go +++ b/main.go @@ -73,7 +73,7 @@ func NewApp() *gin.Engine { mustHaveSession := func(c *gin.Context) (string, error) { session := sessions.Default(c) val := session.Get("name") - emptySession := errors.New("Emtpy session") + emptySession := errors.New("Empty session") if val == nil { c.String(400, "No context") return "", emptySession