Browse Source

resource: Add some GoDoc

pull/4257/head
Bjørn Erik Pedersen 8 years ago
parent
commit
4dac1781e3
No known key found for this signature in database GPG Key ID: 330E6E2BD4859D8F
  1. 4
      resource/resource.go

4
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
}

Loading…
Cancel
Save