aboutsummaryrefslogtreecommitdiff
path: root/client.go
diff options
context:
space:
mode:
authoradnano <[email protected]>2020-09-27 22:13:50 -0400
committeradnano <[email protected]>2020-09-27 22:13:50 -0400
commitc3dbcb39db782658e2c27c906c129b2641053160 (patch)
tree6efc9d5d6b123b5b9b9f4b509c90a1665b0be05f /client.go
parentSplit Redirect into two functions (diff)
downloadgo-gemini-c3dbcb39db782658e2c27c906c129b2641053160.tar.xz
go-gemini-c3dbcb39db782658e2c27c906c129b2641053160.zip
Clarify comment
Diffstat (limited to 'client.go')
-rw-r--r--client.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/client.go b/client.go
index f1f7f45..504fd18 100644
--- a/client.go
+++ b/client.go
@@ -28,6 +28,7 @@ type Request struct {
URL *url.URL
// For client requests, Host specifies the host on which the URL is sought.
+ // Host must contain a port.
// This field is ignored by the server.
Host string