Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SemVer = ""
SemVer is the version of mockery at build time.
Functions ¶
func GetSemverInfo ¶ added in v2.7.0
func GetSemverInfo() string
Types ¶
type Config ¶
type Config struct { All bool BuildTags string `mapstructure:"tags"` Case string Config string Cpuprofile string Dir string DisableVersionString bool `mapstructure:"disable-version-string"` DryRun bool `mapstructure:"dry-run"` Exported bool `mapstructure:"exported"` FileName string InPackage bool KeepTree bool LogLevel string `mapstructure:"log-level"` Name string Note string Outpkg string Packageprefix string Output string Print bool Profile string Quiet bool Recursive bool SrcPkg string BoilerplateFile string `mapstructure:"boilerplate-file"` // StructName overrides the name given to the mock struct and should only be nonempty // when generating for an exact match (non regex expression in -name). StructName string TestOnly bool UnrollVariadic bool `mapstructure:"unroll-variadic"` Version bool WithExpecter bool `mapstructure:"with-expecter"` }
Click to show internal directories.
Click to hide internal directories.