Documentation ¶
Index ¶
- Constants
- Variables
- func DocsURL(relativePath string) string
- func GetLogger(levelStr string) (zerolog.Logger, error)
- func GetMinorSemver() string
- func GetSemverInfo() string
- func Info(ctx context.Context, prefix string, message string, fields map[string]any)
- func Warn(ctx context.Context, prefix string, message string, fields map[string]any)
- func WarnDeprecated(ctx context.Context, message string, fields map[string]any)
Constants ¶
View Source
const ( LogKeyBaseDir = "base-dir" LogKeyDir = "dir" LogKeyDryRun = "dry-run" LogKeyFile = "file" LogKeyInterface = "interface" LogKeyImport = "import" LogKeyPath = "path" LogKeyQualifiedName = "qualified-name" LogKeyPackageName = "package-name" )
Variables ¶
View Source
var ErrPkgNotExist = errors.New("package does not exist")
View Source
var SemVer = ""
SemVer is the version of mockery at build time.
Functions ¶
func GetMinorSemver ¶ added in v2.23.4
func GetMinorSemver() string
GetMinorSemver returns the semantic version up to and including the minor version.
func GetSemverInfo ¶ added in v2.21.0
func GetSemverInfo() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.