repository

package
v0.0.0-...-50debf6 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PackageRepo

type PackageRepo struct {
	// contains filtered or unexported fields
}

func NewPackageRepo

func NewPackageRepo(config customMongo.MongoDbConfig) (*PackageRepo, error)

func (PackageRepo) AddAurPackage

func (pr PackageRepo) AddAurPackage(model aur.Package) error

func (PackageRepo) DeleteAurPackage

func (pr PackageRepo) DeleteAurPackage(model aur.Package) error

func (PackageRepo) GetAlreadyBuildPackageByAurIdAndVersion

func (pr PackageRepo) GetAlreadyBuildPackageByAurIdAndVersion(id int64, version string) (*aur.Package, error)

func (PackageRepo) GetAlreadyBuildPackages

func (pr PackageRepo) GetAlreadyBuildPackages() (*[]aur.Package, error)

func (PackageRepo) GetAurPackageInfoByName

func (pr PackageRepo) GetAurPackageInfoByName(name string) (*aur.Package, error)

func (PackageRepo) GetPackageFromAur

func (pr PackageRepo) GetPackageFromAur(name string) ([]aur.Package, error)

Jump to

Keyboard shortcuts

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