registry

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Header   = "%s\t%s\t%s\n"
	NAME     = "NAME"
	PKG      = "PKG"
	IMPORTED = "IMPORTED"
	DATA     = "%s\t%s\t%s\n"
)

Variables

This section is empty.

Functions

func GetMaxLen

func GetMaxLen(pkgs []fetch.Pkg) (ShortNameMaxLen int, FullNameMaxLen int)

func HandleSpecialPkg

func HandleSpecialPkg(sl, fl int, keyWord string, pkgs []fetch.Pkg)

func NewSearchCommand

func NewSearchCommand() *cobra.Command

func NewWeatherCommand

func NewWeatherCommand() *cobra.Command

Types

type SpecialPkg

type SpecialPkg struct {
	ShortName string
	FullName  string
}

Jump to

Keyboard shortcuts

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