fileutil

package
v1.0.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2024 License: MIT Imports: 5 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL