scriptlib

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RegistryURL = "https://raw.githubusercontent.com/topxeq/xxaitk-scripts/main/registry.json"

Functions

func Get

func Get(name string) error

func LibDir

func LibDir() string

func ListInstalled

func ListInstalled() ([]string, error)

func Load

func Load(name string) (string, error)

func Remove

func Remove(name string) error

Types

type Library

type Library struct {
	Name        string `json:"name"`
	Version     string `json:"version"`
	Author      string `json:"author"`
	Description string `json:"description"`
	URL         string `json:"url"`
	Category    string `json:"category"`
}

type Registry

type Registry struct {
	Libraries []Library `json:"libraries"`
}

func ListRemote

func ListRemote() (*Registry, error)

Jump to

Keyboard shortcuts

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