Help us shape the future of Go! Take the 2026 Go Developer Survey

goproxy

package
v3.1.61 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2026 License: MIT, MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PropertyGoMod = "go.mod"
)

Variables

View Source
var (
	ErrInvalidStructure  = util.NewInvalidArgumentErrorf("package has invalid structure")
	ErrGoModFileTooLarge = util.NewInvalidArgumentErrorf("go.mod file is too large")
)

Functions

This section is empty.

Types

type Package

type Package struct {
	Name    string
	Version string
	GoMod   string
}

func ParsePackage

func ParsePackage(r io.ReaderAt, size int64) (*Package, error)

ParsePackage parses the Go package file https://go.dev/ref/mod#zip-files

Source Files

  • metadata.go

Jump to

Keyboard shortcuts

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