Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ReplacementFolder string
ReplacementFolder is the folder when replacements are saved/loaded from
View Source
var Replacements map[string]string
Replacements maps reywords to result maps
Functions ¶
func DeleteReplacement ¶
func DeleteReplacement(name string)
DeleteReplacement deletes the replacement file with this name
func GetReplacementKeys ¶
func GetReplacementKeys() []string
GetReplacementKeys retrieves the keys from the Replacements map and returns them as an array
func LoadReplacements ¶
func LoadReplacements(folderLocation string)
LoadReplacements loads replacement files from the specified folder location
func ReplaceKeys ¶
ReplaceKeys replaces the replacement keys found within a filter with their value
func SaveReplacement ¶
SaveReplacement saves the content as a replacement file with name {name}.rep
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.