Documentation ¶
Index ¶
- Constants
- func Example(s string) string
- func IsNetworkError(err error) bool
- func MapSlice[Input any, Output any](inputs []Input, f func(Input) Output) []Output
- func ParseErrorToString(err interface{}) string
- func ValidateStdinPathArgument(paths []string) error
- type OSInfo
- type OpenBrowserContext
- type URLOpener
Constants ¶
View Source
const Indentation = ` `
Variables ¶
This section is empty.
Functions ¶
func IsNetworkError ¶
func ParseErrorToString ¶
func ParseErrorToString(err interface{}) string
Types ¶
type OpenBrowserContext ¶ added in v1.6.48
type OpenBrowserContext struct {
UrlOpener URLOpener
}
func (*OpenBrowserContext) OpenBrowser ¶ added in v1.6.48
func (o *OpenBrowserContext) OpenBrowser(url string) error
Click to show internal directories.
Click to hide internal directories.