modules

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: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SkipErr = errors.New("skip read module")

Functions

func Detect

func Detect(dir string) (map[string]*Mod, error)

Types

type Mod

type Mod struct {
	Name    string
	File    string
	Prefix  string
	Version *ver.Ver
	Changed bool
}

func Read

func Read(filepath string) (*Mod, error)

Jump to

Keyboard shortcuts

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