helpers

package
v0.0.0-...-b52ecd8 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PANIC_LEVEL level = iota
	ERROR_LEVEL
	WARN_LEVEL
	INFO_LEVEL
	DEBUG_LEVEL
	TRACE_LEVEL
)
View Source
const DEV = "DEV"
View Source
const ERROR = "error"
View Source
const FAILURE_MESSAGE = "%s: assertion failed for %s \nExpected:\n\t %v \nActual:\n\t %v"
View Source
const GO_PACKAGE_NAME = "packageName"
View Source
const INIT_DEV_BRANCH_NAME = "INIT_DEV_BRANCH_NAME"
View Source
const INIT_DEV_REPO_PATH = "INIT_DEV_REPO_PATH"
View Source
const PROJECT_NAME = "projectName"
View Source
const PROJECT_NAME_WITH_REPLACED_HYPHENS = "projectNameReplacedHyphens"
View Source
const TEMPLATES_FILES_CONFIG = "template-files.json"
View Source
const VALUE = "value"

Variables

View Source
var AppLogger = appLogger{
	// contains filtered or unexported fields
}
View Source
var ErrArgNameRequired = errors.New("The name for the project is not passed")
View Source
var ErrArgTemplateRequired = errors.New("Template for the project is required")
View Source
var ErrExecNotFound = errors.New("Executable not found in path")
View Source
var ErrInvalidArgName = errors.New("Invalid name provided for project")
View Source
var ErrInvalidArgPath = errors.New("Invalid path provided for project")
View Source
var ErrInvalidArgTemplate = errors.New("invalid template")
View Source
var ErrNotYetImplmented = errors.New("Not Yet Implemented")

Functions

func GetLevel

func GetLevel(verbosity int) level

func MoveDir

func MoveDir(from string, to string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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