util

package
v0.0.0-...-f466d3a Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyDir

func CopyDir(src, dst string) error

func CopyFile

func CopyFile(src, dst string) (err error)

func CopyFileContents

func CopyFileContents(src, dst string) (err error)

func ExecCommand

func ExecCommand(command, filePath string) error

func ExecCommandWithErrorCode

func ExecCommandWithErrorCode(command, filePath string) error

func ExecCommandWithReturn

func ExecCommandWithReturn(command, filePath string) (string, error)

func RemoveAccent

func RemoveAccent(s string) string

func WriteFile

func WriteFile(input []byte, outputFile string) error

func WriteJSONToFilePrettyPrint

func WriteJSONToFilePrettyPrint(data interface{}, outputFile string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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