ref: 4dac1781e3436ddc5eefc6a9c62588e4335d8c71
parent: 8a409894bdb0972e152a2eccc47a2738568e1cfc
author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
date: Fri Jan 12 19:08:21 EST 2018
resource: Add some GoDoc
--- a/resource/resource.go
+++ b/resource/resource.go
@@ -35,11 +35,15 @@
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
}
--
⑨