repo

package
v0.0.0-...-aff5a3a Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repo

type Repo interface {
	Init() error
	List() ([]*model.Alias, error)
	Get(name string) (*model.Alias, bool, error)
	Add(alias *model.Alias) error
	Remove(name string) error
	Move(name string, num int) error
}

func Instance

func Instance() Repo

Jump to

Keyboard shortcuts

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