util

package
v0.6.70 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2022 License: MIT Imports: 6 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 IsSingularOrPlural

func IsSingularOrPlural(check, noun string) bool

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

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