mock

command
v0.0.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2024 License: MIT Imports: 3 Imported by: 0

README

Mock Generator

  • The source package is provided via --source(-pkg)=.... It can also be provided by a command line argument starting with a lower case letter since valid mocked interfaces are expected to start with an upper letter.
  • The source file is provided via --source(-file)=.... It can also be provided by a command line argument matching the regular expression ^[a-z.].*\.go$.
  • The target package is provided via --target(-pkg)=.... It can also be provided by a command line argument matching the regular expression ^[a-z_]*.
  • The target file is provided via --target(-file)=.... It can be also be provided by a command line argument matching the regular expression ^[a-z.].*/mock_[^/]*\.go).

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL