diff --git a/030_sessions/08_expire-session/session.go b/030_sessions/08_expire-session/session.go index 94488c1b..45f272d6 100644 --- a/030_sessions/08_expire-session/session.go +++ b/030_sessions/08_expire-session/session.go @@ -11,7 +11,7 @@ func getUser(w http.ResponseWriter, req *http.Request) user { // get cookie c, err := req.Cookie("session") if err != nil { - sID, _ := uuid.NewV4() + sID := uuid.NewV4() c = &http.Cookie{ Name: "session", Value: sID.String(),