utils

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBaseDir

func GetBaseDir() string

func GetUserHome

func GetUserHome() (string, error)

func IsProduction

func IsProduction() bool

func LoadAsciiArt

func LoadAsciiArt() string

func LoadConfigs

func LoadConfigs() map[string]string

func LogError

func LogError(err error)

func LogInfo

func LogInfo(text string)

func LogWarning

func LogWarning(text string)

func ReadMasterPassword

func ReadMasterPassword() (string, error)

func ReadPassword

func ReadPassword() (string, error)

func SetClip

func SetClip(text string) error

Types

type Logger

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

func NewLogger

func NewLogger(d string, f string) *Logger

Jump to

Keyboard shortcuts

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