Documentation ¶ Index ¶ func CleanSpecial(path string) string func Patch(file string, patch func(data []byte) ([]byte, error)) error func PatchJSON[T any](file string, patch func(v *T) error) error func PatchJSONPretty[T any](file string, patch func(v *T) error) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func CleanSpecial ¶ added in v1.0.26 func CleanSpecial(path string) string func Patch ¶ func Patch(file string, patch func(data []byte) ([]byte, error)) error func PatchJSON ¶ func PatchJSON[T any](file string, patch func(v *T) error) error func PatchJSONPretty ¶ func PatchJSONPretty[T any](file string, patch func(v *T) error) error Types ¶ This section is empty. Source Files ¶ View all Source files patch.go patch_go1.18.go path.go Click to show internal directories. Click to hide internal directories.