utils

package
v0.4.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckDir

func CheckDir(path string) (bool, error)

func FileExists

func FileExists(filename string) bool

FileExists check if file exists.

func GetTemplate

func GetTemplate(gitURL, targetDir, templateName string) (string, error)

func IsAbsolutePath

func IsAbsolutePath(path string) bool

func IsDir

func IsDir(path string) bool

func IsLocalPath

func IsLocalPath(path string) bool

func TruncateString

func TruncateString(src string, maxLen int) string

TruncateString - truncate string src to maxLen.

Types

This section is empty.

Jump to

Keyboard shortcuts

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