hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit 4dac1781e3436ddc5eefc6a9c62588e4335d8c71
parent 8a409894bdb0972e152a2eccc47a2738568e1cfc
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Sat, 13 Jan 2018 00:08:21 +0100

resource: Add some GoDoc

Diffstat:
Mresource/resource.go | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/resource/resource.go b/resource/resource.go
@@ -35,11 +35,15 @@ var (
 
 const DefaultResourceType = "unknown"
 
+// Source is an internal template and not meant for use in the templates. It
+// may change without notice.
 type Source interface {
 	AbsSourceFilename() string
 	Publish() error
 }
 
+// Cloner is an internal template and not meant for use in the templates. It
+// may change without notice.
 type Cloner interface {
 	WithNewBase(base string) Resource
 }