platform

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClasspathSeparator added in v0.1.1

func ClasspathSeparator() string

func GetConfigDir

func GetConfigDir(indev bool) (string, error)

GetConfigDir returns the config directory for the cli, or an error if the config directory cannot be found.

If the directory does not exist, it will be created.

func GetVersion

func GetVersion() (string, error)

func OpenUrl

func OpenUrl(url string) error

OpenUrl opens the given URL in the system default browser, or returns an error. Credit: https://gist.github.com/hyg/9c4afcd91fe24316cbf0

func WriteToClipboard

func WriteToClipboard(text string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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