package
1.24.0-dev
Repository: https://github.com/go-gitea/gitea.git
Documentation: pkg.go.dev

# Functions

ParseComposerFile parses a composer.json file to retrieve the metadata of a Composer package.
ParsePackage parses the metadata of a Composer package file.

# Constants

TypeProperty is the name of the property for Composer package types.

# Variables

ErrInvalidName indicates an invalid package name.
ErrInvalidVersion indicates an invalid package version.
ErrMissingComposerFile indicates a missing composer.json file.

# Structs

Author represents an author.
Metadata represents the metadata of a Composer package.
Package represents a Composer package.

# Type aliases

Comments represents the comments of a Composer package.
Licenses represents the licenses of a Composer package.