mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-07-03 12:02:30 +02:00
fix typo for GoDoc comment on GetAll tags
This commit is contained in:
2
tags.go
2
tags.go
@ -77,7 +77,7 @@ func (tags Tags) GetLast(tagPrefix []string) *Tag {
|
|||||||
return nil
|
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 {
|
func (tags Tags) GetAll(tagPrefix []string) Tags {
|
||||||
result := make(Tags, 0, len(tags))
|
result := make(Tags, 0, len(tags))
|
||||||
for _, v := range tags {
|
for _, v := range tags {
|
||||||
|
Reference in New Issue
Block a user