From 28abafa61de3b1e348c147ca7411e278bcb887ee Mon Sep 17 00:00:00 2001 From: Hector Sanjuan Date: Mon, 16 Oct 2023 15:51:31 +0200 Subject: [PATCH] Fix godoc strings --- subscription.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subscription.go b/subscription.go index 6526b29..7be1dfe 100644 --- a/subscription.go +++ b/subscription.go @@ -8,7 +8,7 @@ import ( "time" ) -// Subscriber represents a type that subscribes to a remote URL and appends data to a local file. +// HTTPSubscriber represents a type that subscribes to a remote URL and appends data to a local file. type HTTPSubscriber struct { RemoteURL string LocalFile string @@ -16,7 +16,7 @@ type HTTPSubscriber struct { stopChannel chan struct{} } -// NewSubscriber creates a new Subscriber instance with the given parameters. +// NewHTTPSubscriber creates a new Subscriber instance with the given parameters. func NewHTTPSubscriber(remoteURL, localFile string, interval time.Duration) *HTTPSubscriber { return &HTTPSubscriber{ RemoteURL: remoteURL,