helper

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckError

func CheckError(err error)

CheckError checkec error an returns panic if it exists

func Copy

func Copy(srcFile, dstFile string)

Copy copy directory yo other

func CopyDirectory

func CopyDirectory(scrDir, dest string, excludes map[string]bool)

CopyDirectory function that copies directories

func GetModuleName

func GetModuleName(rootDir string) (string, error)

GetModuleName returns the module name from a go.mod

func Save

func Save(node *ast.File, path string)

Save persists a node into a file in the provided path

Types

This section is empty.

Jump to

Keyboard shortcuts

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