From 20664bdfc0bad7c1643cfc2172707f6da140cdfd Mon Sep 17 00:00:00 2001 From: Charles Iliya Krempeaux Date: Wed, 14 Dec 2022 03:10:01 -0800 Subject: [PATCH] initial commits --- content.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/content.go b/content.go index e665284..e6b24e3 100644 --- a/content.go +++ b/content.go @@ -51,11 +51,11 @@ func CreateContent(s string) Content { } } -// NoContent is used to see if a given strfs.Content has no content. +// EmptyContent is used to see if a given strfs.Content is empty. // -// Note that having no content is NOT the same as containing the empty string! +// Note that a strfs.Content being empty is NOT the same as containing the empty string! // -// A strfs.Content contains no content when it hasn't been initialized. +// A strfs.Content is empty when it hasn't been initialized. // // Example usage: // @@ -63,10 +63,10 @@ func CreateContent(s string) Content { // // // ... // -// if strfs.NoContent() == content { +// if strfs.EmptyContent() == content { // //@TODO // } -func NoContent() Content { +func EmptyContent() Content { return Content{} }