mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
resource: Add some GoDoc
This commit is contained in:
parent
8a409894bd
commit
4dac1781e3
1 changed files with 4 additions and 0 deletions
|
@ -35,11 +35,15 @@ var (
|
||||||
|
|
||||||
const DefaultResourceType = "unknown"
|
const DefaultResourceType = "unknown"
|
||||||
|
|
||||||
|
// Source is an internal template and not meant for use in the templates. It
|
||||||
|
// may change without notice.
|
||||||
type Source interface {
|
type Source interface {
|
||||||
AbsSourceFilename() string
|
AbsSourceFilename() string
|
||||||
Publish() error
|
Publish() error
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Cloner is an internal template and not meant for use in the templates. It
|
||||||
|
// may change without notice.
|
||||||
type Cloner interface {
|
type Cloner interface {
|
||||||
WithNewBase(base string) Resource
|
WithNewBase(base string) Resource
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue