util

package
v0.0.0-...-5adc17f Latest Latest
Warning

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

Go to latest
Published: May 10, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(e error)

func GetHomedir

func GetHomedir() (path string)

Types

type Shell

type Shell struct {
	Name       string
	ConfigFile string
	Template   string
}

func DetectShell

func DetectShell() (err error, shell Shell)

type ShellDetectionError

type ShellDetectionError struct {
	EnvVar string
}

func (ShellDetectionError) Error

func (err ShellDetectionError) Error() string

Jump to

Keyboard shortcuts

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