file

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteDir

func DeleteDir(path string) error

func ReadStringOrFile

func ReadStringOrFile(input string) (string, bool, error)

ReadStringOrFile returns the content of a string or a file if the file exists. The returned boolean value indicates whether the specified `input` was a file path or not.

Types

This section is empty.

Jump to

Keyboard shortcuts

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