aboutsummaryrefslogtreecommitdiff
path: root/internal/queue/queue.go
diff options
context:
space:
mode:
authorcui fliter <imcusg@gmail.com>2023-02-07 22:22:14 +0800
committerGopher Robot <gobot@golang.org>2023-02-09 20:53:57 +0000
commit81f6f8d4175ad0bf6feaa03543cc433f8b04b19b (patch)
tree9f2ffded251a108b9ad82aab47d301e7ddf9fd73 /internal/queue/queue.go
parentf93c7b3d884a8dce4ec0696b5c528e83f5e753fb (diff)
downloadgo-x-pkgsite-81f6f8d4175ad0bf6feaa03543cc433f8b04b19b.tar.xz
internal: fix some comments
Change-Id: I837c46bba9cd5c012670b432274c6e3318a3275b Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/465997 Reviewed-by: Suzy Mueller <suzmue@golang.org> Run-TryBot: Suzy Mueller <suzmue@golang.org> Reviewed-by: David Chase <drchase@google.com> TryBot-Result: kokoro <noreply+kokoro@google.com> Auto-Submit: Suzy Mueller <suzmue@golang.org>
Diffstat (limited to 'internal/queue/queue.go')
-rw-r--r--internal/queue/queue.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/queue/queue.go b/internal/queue/queue.go
index 5b192c29..6f64a4d1 100644
--- a/internal/queue/queue.go
+++ b/internal/queue/queue.go
@@ -76,7 +76,7 @@ type GCP struct {
token *taskspb.HttpRequest_OidcToken
}
-// NewGCP returns a new Queue that can be used to enqueue tasks using the
+// newGCP returns a new Queue that can be used to enqueue tasks using the
// cloud tasks API. The given queueID should be the name of the queue in the
// cloud tasks console.
func newGCP(cfg *config.Config, client *cloudtasks.Client, queueID string) (_ *GCP, err error) {