cons

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// EnvGhToken env key with github token
	EnvGhToken = "GH_TOKEN"
	// EnvLogFile env key wtih log file
	//
	// default /tmp/fzdwx_open.log
	EnvLogFile = "OPEN_LOG_FILE"

	GithubUrl = "https://github.com"

	Version = "v0.3.5"

	HistoryFile = "/.fzdwx_open/history"

	HttpPrefix  = "http://"
	HttpsPrefix = "https://"
)

Variables

View Source
var (
	ClipboardEmptyError = errors.New("clipboard is empty")
	StdinEmptyError     = errors.New("stdin is empty")
	PathIsNotValidError = errors.New("path is not valid")
)

Functions

func GetLogFileName

func GetLogFileName() string

func MkOpenDir added in v0.2.1

func MkOpenDir() error

func OpenDir added in v0.2.1

func OpenDir() string

func UserDir added in v0.2.1

func UserDir() string

UserDir get user home

Types

This section is empty.

Jump to

Keyboard shortcuts

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