Documentation
¶
Index ¶
- func FormatOutput(content, format string) (string, error)
- func GetTemplateHelp() string
- func GetTemplateNames() []string
- func RecommendOutputExtension(templateName, format string) string
- func ValidateTemplate(templateName string) error
- func ValidateTemplateForLanguage(templateName, language string) error
- type Analyzer
- type FileInfo
- type SourceInfo
- type TemplateInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatOutput ¶
func GetTemplateHelp ¶
func GetTemplateHelp() string
func GetTemplateNames ¶
func GetTemplateNames() []string
func ValidateTemplate ¶
Types ¶
type Analyzer ¶
type Analyzer struct {
// contains filtered or unexported fields
}
func NewAnalyzer ¶
func (*Analyzer) Analyze ¶
func (a *Analyzer) Analyze() (*SourceInfo, error)
type SourceInfo ¶
type TemplateInfo ¶
func GetTemplateInfo ¶
func GetTemplateInfo(templateName string) (TemplateInfo, bool)
func ListTemplates ¶
func ListTemplates() []TemplateInfo
Click to show internal directories.
Click to hide internal directories.