mirror of
https://github.com/Jguer/yay
synced 2024-09-14 13:51:12 +00:00
Update vendored aur
This commit is contained in:
parent
f186bd1de3
commit
b5715de4fd
4
Gopkg.lock
generated
4
Gopkg.lock
generated
|
@ -5,13 +5,13 @@
|
|||
branch = "master"
|
||||
name = "github.com/jguer/go-alpm"
|
||||
packages = ["."]
|
||||
revision = "525cfc02951f197145144587c42d51baac160eb7"
|
||||
revision = "f09b14fad0ccb0df7e5b699da8bcf3b45db4d0ab"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
name = "github.com/mikkeloscar/aur"
|
||||
packages = ["."]
|
||||
revision = "9050804dc7d471393053322aaaa40428fbd32de3"
|
||||
revision = "837b260b8e90895c45737e2e72313fe5bce6f2c4"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
|
|
5
vendor/github.com/mikkeloscar/aur/aur.go
generated
vendored
5
vendor/github.com/mikkeloscar/aur/aur.go
generated
vendored
|
@ -7,7 +7,8 @@ import (
|
|||
"net/url"
|
||||
)
|
||||
|
||||
const aurURL = "https://aur.archlinux.org/rpc.php?"
|
||||
//AURURL is the base string from which the query is built
|
||||
var AURURL = "https://aur.archlinux.org/rpc.php?"
|
||||
|
||||
type response struct {
|
||||
Error string `json:"error"`
|
||||
|
@ -46,7 +47,7 @@ type Pkg struct {
|
|||
|
||||
func get(values url.Values) ([]Pkg, error) {
|
||||
values.Set("v", "5")
|
||||
resp, err := http.Get(aurURL + values.Encode())
|
||||
resp, err := http.Get(AURURL + values.Encode())
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue