From c7a985008495749e17a567b0ccfcd3b4f13134b4 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Thu, 1 Oct 2020 08:52:41 +0000 Subject: [PATCH] Fix typos in file.go "retuns" => "returns" --- pkging/file.go | 2 +- pkging/mem/file.go | 2 +- pkging/stdos/file.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkging/file.go b/pkging/file.go index c7d12a1..9b16923 100644 --- a/pkging/file.go +++ b/pkging/file.go @@ -14,7 +14,7 @@ type File interface { // Info returns the here.Info of the file Info() here.Info - // Name retuns the name of the file + // Name returns the name of the file Name() string // Open implements the http.FileSystem interface. A FileSystem implements access to a collection of named files. The elements in a file path are separated by slash ('/', U+002F) characters, regardless of host operating system convention. diff --git a/pkging/mem/file.go b/pkging/mem/file.go index 2d4d244..1d0cad6 100644 --- a/pkging/mem/file.go +++ b/pkging/mem/file.go @@ -103,7 +103,7 @@ func (f File) Stat() (os.FileInfo, error) { return f.info, nil } -// Name retuns the name of the file in pkger format +// Name returns the name of the file in pkger format func (f File) Name() string { return f.path.String() } diff --git a/pkging/stdos/file.go b/pkging/stdos/file.go index 35845cf..f61c191 100644 --- a/pkging/stdos/file.go +++ b/pkging/stdos/file.go @@ -29,7 +29,7 @@ func (f *File) Info() here.Info { return f.her } -// Name retuns the name of the file in pkger format +// Name returns the name of the file in pkger format func (f File) Name() string { return f.path.String() }