util

package
v0.6.95 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeBase64OrReturnSelf added in v0.6.68

func DecodeBase64OrReturnSelf(maybeBase64 string) []byte

func DoesPathExist added in v0.6.72

func DoesPathExist(path string) bool

func IsGitURL added in v0.6.72

func IsGitURL(u string) bool

func IsSingularOrPlural

func IsSingularOrPlural(check, noun string) bool

checks if noun or pulural version of noun (checks if s at end)

func IsVSCodeExtensionInstalled added in v0.6.91

func IsVSCodeExtensionInstalled(extensionID string) (bool, error)

func MapAppend

func MapAppend(m map[string]interface{}, n ...map[string]interface{}) map[string]interface{}

func RemoveFileExtenstion added in v0.6.68

func RemoveFileExtenstion(path string) string

Types

type RunEResult added in v0.6.68

type RunEResult struct {
	// contains filtered or unexported fields
}

func RunEAsync added in v0.6.68

func RunEAsync(calls ...func() error) RunEResult

func (RunEResult) Await added in v0.6.68

func (r RunEResult) Await() error

Jump to

Keyboard shortcuts

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