Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Content ¶
type Content struct {
// Regex is the regex to match the content.
// - If regex is not empty, Old will be ignored.
Regex string `cfg:"regex"`
// Old is the old content to replace.
Old string `cfg:"old"`
New string `cfg:"new"`
// Value from load name, key value and type is map[string]interface{}
Value string `cfg:"value"`
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.