Browse Source

Fix typo.

Alex Myasoedov 6 years ago
parent
commit
c6b9f67933
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main.go

+ 1 - 1
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