diff options
author | Alexey Grachov <grachov.alexey@gmail.com> | 2018-01-24 11:24:21 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-01-24 10:24:21 +0100 |
commit | 912147ab896e69a450b7100c3d6bf81a7bf78b5a (patch) | |
tree | bd16cf47e3dc984300df3eab606f9384f4968ce3 /resource | |
parent | 517b6b62389d23bfe41fe3ae551a691b11bdcaa7 (diff) |
resource: Fix typo in comment
Diffstat (limited to 'resource')
-rw-r--r-- | resource/resource.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resource/resource.go b/resource/resource.go index e31cb7ff7..2e5c8011a 100644 --- a/resource/resource.go +++ b/resource/resource.go @@ -112,7 +112,7 @@ Some examples: * To find one resource by its prefix in the root dir of the bundle: .GetMatch image* * To find all JPEG images anywhere in the bundle: .Match **.jpg` -// GetBySuffix gets the first resource matching the given filename prefix, e.g +// GetByPrefix gets the first resource matching the given filename prefix, e.g // "logo" will match logo.png. It returns nil of none found. // In potential ambiguous situations, combine it with ByType. func (r Resources) GetByPrefix(prefix string) Resource { |