From c816103774ee5459580b5466556c425d72521b78 Mon Sep 17 00:00:00 2001 From: Liran Cohen Date: Wed, 18 Jan 2023 04:22:38 +0000 Subject: [PATCH] fix typo for GoDoc comment on GetAll tags --- tags.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tags.go b/tags.go index 7f5db86..b38c8b2 100644 --- a/tags.go +++ b/tags.go @@ -77,7 +77,7 @@ func (tags Tags) GetLast(tagPrefix []string) *Tag { return nil } -// GetLast gets all the tags that match the prefix, see [Tag.StartsWith] +// GetAll gets all the tags that match the prefix, see [Tag.StartsWith] func (tags Tags) GetAll(tagPrefix []string) Tags { result := make(Tags, 0, len(tags)) for _, v := range tags {