From 1dcaa200e0ed574a0c8057ca0b914c87e624c418 Mon Sep 17 00:00:00 2001 From: James Houlahan Date: Thu, 13 Aug 2020 11:54:52 +0200 Subject: [PATCH] fix: docstring mistakes --- internal/cookies/jar.go | 2 +- internal/cookies/pantry.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/cookies/jar.go b/internal/cookies/jar.go index abfaaffd..cd17eee6 100644 --- a/internal/cookies/jar.go +++ b/internal/cookies/jar.go @@ -28,7 +28,7 @@ import ( ) // Jar implements http.CookieJar by wrapping the standard library's cookiejar.Jar. -// The jar uses a Persister to load cookies at startup and save cookies when set. +// The jar uses a pantry to load cookies at startup and save cookies when set. type Jar struct { jar *cookiejar.Jar pantry *pantry diff --git a/internal/cookies/pantry.go b/internal/cookies/pantry.go index 47cdc4d6..3f54fa2a 100644 --- a/internal/cookies/pantry.go +++ b/internal/cookies/pantry.go @@ -24,6 +24,7 @@ import ( "github.com/ProtonMail/proton-bridge/internal/preferences" ) +// pantry persists and loads cookies to some persistent storage location. type pantry struct { gs GetterSetter }