utils

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AndictlSlugify

func AndictlSlugify(text string) string

func DownloadFile

func DownloadFile(filename string, url string) (filepath string, err error)

func ExecShellCommand

func ExecShellCommand(bin string, args []string, stream bool)

func GetAppModule

func GetAppModule(goModPath string) string

func HyphenToDash

func HyphenToDash(text string) string

func InsertInfile

func InsertInfile(str string, placeHolder string, file string)

func PackageList

func PackageList(path string) (pack []string)

func ProcessTmplFiles

func ProcessTmplFiles(folder string, dstFileName string, tmplFile []byte, tmplData interface{}, debug bool)

func UuidWithOutHyphen

func UuidWithOutHyphen() (value string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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