Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SearchCommand ¶
Types ¶
type SearchRunner ¶
type SearchRunner struct { Command *cobra.Command ByValue string ByValueRegex string ByPath string PutLiteral string PutPattern string RecurseSubPackages bool }
SearchRunner contains the SearchReplace function
func NewSearchRunner ¶
func NewSearchRunner(name string) *SearchRunner
NewSearchRunner returns a command SearchRunner.
func (*SearchRunner) ExecuteCmd ¶
func (r *SearchRunner) ExecuteCmd(w io.Writer, pkgPath string) error
Click to show internal directories.
Click to hide internal directories.