Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TOMLFile ¶
func TOMLFile( toPatchFile string, p PatchesFunc, ) (string, error)
TOMLFile patches TOML from a file with the patches (should be TOML merge patches).
func TOMLReader ¶
func TOMLReader( toPatchReader io.Reader, p PatchesFunc, ) (string, error)
TOMLReader patches TOML from a reader with the patches (should be TOML merge patches).
func TOMLString ¶
func TOMLString( toPatch string, p PatchesFunc, ) (string, error)
TOMLString patches a TOML string toPatch with the patches (should be TOML merge patches).
Types ¶
type PatchesFunc ¶
func CombinePatches ¶
func CombinePatches(pFns ...PatchesFunc) PatchesFunc
func FileGlobPatches ¶
func FileGlobPatches(patchFileGlobs ...string) PatchesFunc
func FilePatches ¶
func FilePatches(patchFiles ...string) PatchesFunc
func ReaderPatches ¶
func ReaderPatches(patchReaders ...io.Reader) PatchesFunc
func StringPatches ¶
func StringPatches(patches ...string) PatchesFunc
Click to show internal directories.
Click to hide internal directories.