ocl

package module
v0.0.0-...-912c72a Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2025 License: MIT Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrEmptyTarget = errors.New("empty target")
View Source
var ErrNoOpenerFound = errors.New("no suitable opener command found in PATH")

Functions

func Open

func Open(target string) error

Open is a smart open function that opens files, URLs, or other resources using the default application associated with the resource type on the current operating system.

Types

type App

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

func NewApp

func NewApp(domain, name string) *App

NewApp creates a new App instance with the given name.

func (*App) GetKV

func (a *App) GetKV() (kv.KV, error)

GetKV picks an appropriate KV implementation and returns it.

Directories

Path Synopsis
kv

Jump to

Keyboard shortcuts

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