utils

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BrowserLauncher

func BrowserLauncher() ([]string, error)

BrowserLauncher : return the browser launcher command, copy from github.com/github/hub

func Check added in v0.0.4

func Check(err error)

Check : return the error message if the err is not nil

func Err added in v0.0.3

func Err(msg interface{})

Err : return the error message,then exit

func GetEnv added in v0.0.4

func GetEnv(key, fallback string) string

GetEnv : get env, if not exist use fallback value

Types

This section is empty.

Jump to

Keyboard shortcuts

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