Documentation
¶
Index ¶
Constants ¶
View Source
const ( MATCH_NONE matchType = iota MATCH_CLONE MATCH_MOCK )
Variables ¶
View Source
var SemVer = "v0.0.0-devel"
Functions ¶
func GetSemverInfo ¶ added in v0.1.5
func GetSemverInfo() string
Types ¶
type CommandOptions ¶ added in v0.1.7
type CommandOptions struct {
MockName string `yaml:"name"`
MockPkg string `yaml:"mockPkg"`
ClzName string `yaml:"className"`
IntfName string `yaml:"interfaceName"`
SrcPkg string `yaml:"sourcePkg"`
TestOnly bool `yaml:"testOnly"`
MethodsToClone []string `yaml:"real,flow"`
MethodsToMock []string `yaml:"mock,flow"`
}
must be public for it to be used in loading YAML configuration
type Config ¶ added in v0.1.7
type Config struct {
Mockcompose []CommandOptions `yaml:"mockcompose,flow"`
}
must be public for it to be used in loading YAML configuration
Click to show internal directories.
Click to hide internal directories.