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() }