chooser

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package chooser chooses what browser to use depending on a rule and URI

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chooser

type Chooser struct {
	// contains filtered or unexported fields
}

Chooser thingie

func New

func New(config cfg, arg string) *Chooser

New instance of chooser

func (*Chooser) Call

func (c *Chooser) Call()

Call runs this thing

func (*Chooser) GetRule

func (c *Chooser) GetRule() *rule.Rule

GetRule returns the rule that matches the argument passed in

Jump to

Keyboard shortcuts

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