utils

package
v0.0.0-...-29202a1 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CurrentPrompt string = "0"
View Source
var Tools []types.Tool

Functions

func Banner()

func Bold

func Bold(s string)

func CompileRunCommand

func CompileRunCommand(runCommand string) string

func ConfirmAction

func ConfirmAction(actionTxt string) bool

func Debug

func Debug(s string)

func Error

func Error(s string)

func Info

func Info(s string)

func Success

func Success(s string)

Types

type DynamicStdout

type DynamicStdout struct {
	// contains filtered or unexported fields
}
var DStdout DynamicStdout = DynamicStdout{}

func (*DynamicStdout) Write

func (d *DynamicStdout) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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