Documentation ¶
Index ¶
- Constants
- func CleanFilepath(filepath string, fileToken string) string
- func ContainFiles(pathes ...string) types.GomegaMatcher
- func ExcludeTemplate(filepath string, excludeDagger bool) bool
- func IsForgeTemplate(filepath string) bool
- func RemoveTemplateExtension(filepath string) string
- func ReplaceAppName(filepath string, appName string) string
- func ReplaceFeatureName(filepath, feature string) string
- type DummyFile
- type DummyWriter
- type DummyWriterMatcher
- type FileWriter
- type Writer
Constants ¶
View Source
const ( TMPL_SUFFIX = ".tmpl" DAGGER_FILE_TOKEN = "($dagger$)" APP_FILE_TOKEN = "[(application)]" FEATURE_TOKEN = "[(feature)]" )
Variables ¶
This section is empty.
Functions ¶
func CleanFilepath ¶ added in v0.4.0
func ContainFiles ¶
func ContainFiles(pathes ...string) types.GomegaMatcher
func ExcludeTemplate ¶ added in v0.4.0
func IsForgeTemplate ¶ added in v0.4.0
func RemoveTemplateExtension ¶ added in v0.4.0
func ReplaceAppName ¶ added in v0.4.0
func ReplaceFeatureName ¶ added in v0.4.0
Types ¶
type DummyWriter ¶
type DummyWriter struct {
// contains filtered or unexported fields
}
func NewDummyWriter ¶
func NewDummyWriter() DummyWriter
type DummyWriterMatcher ¶
type DummyWriterMatcher struct {
Pathes []string
}
func (*DummyWriterMatcher) FailureMessage ¶
func (matcher *DummyWriterMatcher) FailureMessage(actual interface{}) (message string)
func (*DummyWriterMatcher) Match ¶
func (matcher *DummyWriterMatcher) Match(actual interface{}) (success bool, err error)
func (*DummyWriterMatcher) NegatedFailureMessage ¶
func (matcher *DummyWriterMatcher) NegatedFailureMessage(actual interface{}) (message string)
type FileWriter ¶
type FileWriter struct {
// contains filtered or unexported fields
}
func NewFileWriter ¶
func NewFileWriter(outputFolder string) FileWriter
Click to show internal directories.
Click to hide internal directories.