util

package
v0.0.28 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendKeyValue

func AppendKeyValue(b *bytes.Buffer, key string, value interface{}, quoteEmptyField, disableQuoting bool)

func AppendValue

func AppendValue(b *bytes.Buffer, value interface{}, quoteEmptyField, disableQuoting bool)

func CheckIfTerminal

func CheckIfTerminal(w io.Writer) bool

changed to 3rd party

func FindCaller

func FindCaller(skip int) (string, string, int)

func FindIssue

func FindIssue(startLevel int) (string, string, int)

func HomeFolder

func HomeFolder() string

Types

type MutexWrap

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

func (*MutexWrap) Disable

func (mw *MutexWrap) Disable()

func (*MutexWrap) Lock

func (mw *MutexWrap) Lock()

func (*MutexWrap) Unlock

func (mw *MutexWrap) Unlock()

Jump to

Keyboard shortcuts

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