Documentation ¶ Rendered for linux/amd64 windows/amd64 darwin/amd64 js/wasm Index ¶ func Run(cmd string, args ...string) error type OpenCB type Opener func New() *Opener func (o *Opener) Open(url string) error func (o *Opener) OpenURL(url string) error func (o *Opener) SetOpen(cb OpenCB) func (o *Opener) SetOpenURL(cb OpenCB) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Run ¶ func Run(cmd string, args ...string) error Types ¶ type OpenCB ¶ type OpenCB func(what string) error type Opener ¶ type Opener struct { // contains filtered or unexported fields } func New ¶ func New() *Opener func (*Opener) Open ¶ func (o *Opener) Open(url string) error func (*Opener) OpenURL ¶ func (o *Opener) OpenURL(url string) error func (*Opener) SetOpen ¶ func (o *Opener) SetOpen(cb OpenCB) func (*Opener) SetOpenURL ¶ func (o *Opener) SetOpenURL(cb OpenCB) Source Files ¶ View all Source files open.go open_linux.go Click to show internal directories. Click to hide internal directories.