From 2f802298343f73c9539d660392fe1f1ac89a0f0a Mon Sep 17 00:00:00 2001 From: Charles Iliya Krempeaux Date: Mon, 23 Oct 2023 11:48:20 -0700 Subject: [PATCH] corrected typo in docs. "TIme" -> "Time" --- README.md | 2 +- content.go | 4 ++-- regularfile.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 87ead15..879ba97 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ var content strfs.Content = strfs.CreateContent(s) var regularfile strfs.RegularFile = strfs.RegularFile{ FileContent: content, FileName: "helloworld.html", - FileModTIme: time.Date(2022, 12, 12, 10, 30, 14, 2, time.UTC), + FileModTime: time.Date(2022, 12, 12, 10, 30, 14, 2, time.UTC), } var file fs.FS = ®ularfile diff --git a/content.go b/content.go index 5a7316c..42e1f3c 100644 --- a/content.go +++ b/content.go @@ -18,7 +18,7 @@ import ( // var regularfile strfs.RegularFile = strfs.RegularFile{ // FileContent: content, // FileName: "notice.html", -// FileModTIme: time.Date(2022, 12, 12, 10, 30, 14, 2, time.UTC), +// FileModTime: time.Date(2022, 12, 12, 10, 30, 14, 2, time.UTC), // } type Content struct{ value string @@ -40,7 +40,7 @@ var _ io.ReadCloser = &Content{} // var regularfile strfs.RegularFile = strfs.RegularFile{ // FileContent: content, // FileName: "message.md", -// FileModTIme: time.Now(), +// FileModTime: time.Now(), // } func CreateContent(value string) Content { var reader io.Reader = strings.NewReader(value) diff --git a/regularfile.go b/regularfile.go index 9026769..38d1318 100644 --- a/regularfile.go +++ b/regularfile.go @@ -14,7 +14,7 @@ import ( // var regularfile strfs.RegularFile = strfs.RegularFile{ // FileContent: content, // FileName: "helloworld.html", -// FileModTIme: time.Date(2022, 12, 12, 10, 30, 14, 2, time.UTC), +// FileModTime: time.Date(2022, 12, 12, 10, 30, 14, 2, time.UTC), // } type RegularFile struct { FileContent Content