util

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Checksum

func Checksum(v interface{}) (string, error)

func GenerateSessionId

func GenerateSessionId() string

func IsWSL

func IsWSL() (bool, error)

IsWSL tests if the binary is being run in Windows Subsystem for Linux

func NormalizeHttpUrl

func NormalizeHttpUrl(input string) (string, error)

func NormalizeWsUrl

func NormalizeWsUrl(input string) (string, error)

func OpenURL

func OpenURL(url string) error

OpenURL opens the specified URL in the default browser of the user. Source: https://stackoverflow.com/a/39324149/453290

func StripScheme

func StripScheme(input string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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