Permalink
Browse files

resource: Add some GoDoc

  • Loading branch information...
bep committed Jan 12, 2018
1 parent 8a40989 commit 4dac1781e3436ddc5eefc6a9c62588e4335d8c71
Showing with 4 additions and 0 deletions.
  1. +4 −0 resource/resource.go
View
@@ -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
}

0 comments on commit 4dac178

Please sign in to comment.