summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rw-r--r--internal/fetch/doc.go3
-rw-r--r--internal/fetch/fetch.go (renamed from internal/links/fetch.go)2
-rw-r--r--internal/fetch/fetch_test.go (renamed from internal/links/fetch_test.go)2
3 files changed, 5 insertions, 2 deletions
diff --git a/internal/fetch/doc.go b/internal/fetch/doc.go
new file mode 100644
index 0000000..376a4d3
--- /dev/null
+++ b/internal/fetch/doc.go
@@ -0,0 +1,3 @@
+// Package fetch makes a GET request to a given URL, retrieving the
+// HTML contents of that webpage.
+package fetch
diff --git a/internal/links/fetch.go b/internal/fetch/fetch.go
index 53cc692..f508922 100644
--- a/internal/links/fetch.go
+++ b/internal/fetch/fetch.go
@@ -1,4 +1,4 @@
-package links
+package fetch
import (
"bufio"
diff --git a/internal/links/fetch_test.go b/internal/fetch/fetch_test.go
index 5d873a6..427406d 100644
--- a/internal/links/fetch_test.go
+++ b/internal/fetch/fetch_test.go
@@ -1,4 +1,4 @@
-package links
+package fetch
import "testing"