Skip to content

Commit

Permalink
Fix godoc strings
Browse files Browse the repository at this point in the history
  • Loading branch information
hsanjuan committed Oct 16, 2023
1 parent 5bd4fc2 commit 28abafa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions subscription.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ 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
Interval time.Duration
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,
Expand Down

0 comments on commit 28abafa

Please sign in to comment.