Documentation
¶
Overview ¶
Package codemods provides a set of code modifications (codemods) for modifying files. It allows you to define a set of code modifications and apply them to a directory.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Mods = map[string]CodeMod{}
Functions ¶
This section is empty.
Types ¶
type ReplaceFile ¶
type ReplaceFile struct{}
func (ReplaceFile) Apply ¶
func (s ReplaceFile) Apply(source, target, match string, args ...string) error
func (ReplaceFile) Description ¶
func (s ReplaceFile) Description() string
func (ReplaceFile) Usage ¶
func (s ReplaceFile) Usage() string
type SJSON ¶ added in v0.1.1
type SJSON struct{}
func (SJSON) Description ¶ added in v0.1.1
Click to show internal directories.
Click to hide internal directories.