diff --git a/030_sessions/08_expire-session/main.go b/030_sessions/08_expire-session/main.go index 690231d9..6bc60663 100644 --- a/030_sessions/08_expire-session/main.go +++ b/030_sessions/08_expire-session/main.go @@ -83,7 +83,7 @@ func signup(w http.ResponseWriter, req *http.Request) { return } // create session - sID, _ := uuid.NewV4() + sID:= uuid.NewV4() c := &http.Cookie{ Name: "session", Value: sID.String(), @@ -130,7 +130,7 @@ func login(w http.ResponseWriter, req *http.Request) { return } // create session - sID, _ := uuid.NewV4() + sID := uuid.NewV4() c := &http.Cookie{ Name: "session", Value: sID.String(),