utils

package
v0.0.0-...-abc809d Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Version is the current version of the project
	Version = "0.0.1"
	// Npm Registry URL
	NpmRegistryURL = "https://registry.npmjs.org/"
)

Variables

This section is empty.

Functions

func CheckPkg

func CheckPkg(pkg string) (bool, string)

func Create

func Create(path string) error

Create a folder/directory at a full qualified path

func Exists

func Exists(path string) (bool, error)

check if file exists

func Log

func Log(msg string) string

func LogDebug

func LogDebug(msg string)

func LogError

func LogError(msg string) string

func LogInfo

func LogInfo(msg string) string

func LogWarning

func LogWarning(msg string)

func Request

func Request(url string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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