Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultFuncMap ¶
DefaultFuncMap is automatically added to available template functions
func ToGoPrivate ¶
ToGoPrivate returns a valid unexported go identifier for name
Types ¶
type ErrInvalidDest ¶
type ErrInvalidDest struct {
Dest string
}
ErrInvalidDest describes an invalid destination directory
func (*ErrInvalidDest) Error ¶
func (e *ErrInvalidDest) Error() string
func (*ErrInvalidDest) Is ¶
func (e *ErrInvalidDest) Is(target error) bool
type ErrInvalidSource ¶
type ErrInvalidSource struct {
Source string
}
ErrInvalidSource describes an invalid source directory for templates
func (*ErrInvalidSource) Error ¶
func (e *ErrInvalidSource) Error() string
func (*ErrInvalidSource) Is ¶
func (e *ErrInvalidSource) Is(target error) bool
type ErrNoNoMatch ¶
type ErrNoNoMatch struct {
Source string
}
ErrNoNoMatch is returned when there are no files matching source
func (*ErrNoNoMatch) Error ¶
func (e *ErrNoNoMatch) Error() string
func (*ErrNoNoMatch) Is ¶
func (e *ErrNoNoMatch) Is(target error) bool
type ErrWithMessage ¶
ErrWithMessage wraps error with an additional message
func (*ErrWithMessage) Error ¶
func (e *ErrWithMessage) Error() string
Error returns message followed by error
func (*ErrWithMessage) Is ¶
func (e *ErrWithMessage) Is(target error) bool
func (ErrWithMessage) Unwrap ¶
func (e ErrWithMessage) Unwrap() error
Click to show internal directories.
Click to hide internal directories.