go-template/.mockery.yaml
2026-03-05 21:52:10 +01:00

19 lines
618 B
YAML

# mockery v2 configuration
# Docs: https://vektra.github.io/mockery/latest/configuration/
#
# Mocks are placed in mocks/<package>/ next to their source package.
# Regenerate with: make mocks
with-expecter: true # generate type-safe EXPECT() call chains
mockname: "Mock{{.InterfaceName}}"
filename: "mock_{{.InterfaceName | snakecase}}.go"
outpkg: "mocks"
dir: "mocks/{{.PackageName}}"
# Packages whose interfaces should be mocked.
# Add entries here whenever you define an interface that other packages depend on.
packages:
github.com/your-org/go-template/internal/greeter:
interfaces:
Greeter: