genutility

package
v0.0.0-...-c5d13b4 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2023 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindText

func FindText(p, str string) (bool, error)

func IsError

func IsError(err error) bool

error checker

func Makefile

func Makefile(p string) (*os.File, error)

make any file

func Makefolder

func Makefolder(p string) error

make any folder

func Shellout

func Shellout(command string) (error, string, string)

func UpdateText

func UpdateText(f string, o string, n string) error

f is for file, o is for old text, n is for new text

func Writetemplate

func Writetemplate(temp string, f *os.File, d map[string]string) error

write any template to file

Types

This section is empty.

Jump to

Keyboard shortcuts

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