aur

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2016 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package aur provides an interface to https://aur.archlinux.org/rpc.php

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInfos

func GetInfos(allNames []string) (map[string]*PkgInfo, error)

GetInfos queries the AUR for every name in allNames. The result map will not contain an entry for every input if the AUR didn't return anything for the package. Perhaps this happens if the package has been removed? If an error is returned, we just return that one error.

Types

type PkgInfo

type PkgInfo struct {
	Name        string
	Version     string
	SnapshotURL string
}

PkgInfo contains information about an AUR package.

Jump to

Keyboard shortcuts

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