Documentation
¶
Index ¶
Constants ¶
View Source
const ( ConfigFolderName = ".tx" ConfigFileName = "tx" ConfigFileExt = "json" )
Variables ¶
View Source
var ( ConfigDir string HomeDir string TemplateDir string AddConfig AddTemplateConfig GenConfig GenTemplateConfig )
Functions ¶
This section is empty.
Types ¶
type AddTemplateConfig ¶
type AddTemplateConfig struct { Name string `json:"name"` Description string `json:"description"` Ignore []string `json:"ignore"` Path string }
func NewAddTemplateConfig ¶
func NewAddTemplateConfig(path string) AddTemplateConfig
func (*AddTemplateConfig) Load ¶
func (c *AddTemplateConfig) Load() AddTemplateConfig
type GenTemplateConfig ¶
func NewGenTemplateConfig ¶
func NewGenTemplateConfig(path string) GenTemplateConfig
func (*GenTemplateConfig) Load ¶
func (c *GenTemplateConfig) Load() GenTemplateConfig
Click to show internal directories.
Click to hide internal directories.