Documentation ¶
Overview ¶
Copyright © 2023 NAME HERE <EMAIL ADDRESS>
Index ¶
Constants ¶
View Source
const ( BindPrefix string = "//tmpl:bind" // BinderTypeFile loads all templates from a file on disk BinderTypeFile string = "file" // BinderTypeEmbed loads all templates from go:embed BinderTypeEmbed string = "embed" )
Variables ¶
View Source
var ( Outfile *string Mode *string )
Functions ¶
Types ¶
type TemplateBinding ¶
type TemplateBinding struct { Args []string BinderType string FileName string FilePaths []string StructType string }
func (*TemplateBinding) TemplateText ¶
func (b *TemplateBinding) TemplateText() string
Click to show internal directories.
Click to hide internal directories.