Updated readme and go version

This commit is contained in:
Caleb Gardner
2021-09-18 06:22:06 -05:00
parent ce9d4aed23
commit 2f0ca5418c
6 changed files with 47 additions and 28 deletions
+3 -3
View File
@@ -32,7 +32,7 @@ func versionDL() (bool, error) {
}
versionFile.Chmod(0777)
check := http.Client{
CheckRedirect: func(r *http.Request, via []*http.Request) error {
CheckRedirect: func(r *http.Request, _ []*http.Request) error {
r.URL.Opaque = r.URL.Path
return nil
},
@@ -68,7 +68,7 @@ func changelogDL() (bool, error) {
}
changelogFile.Chmod(0777)
check := http.Client{
CheckRedirect: func(r *http.Request, via []*http.Request) error {
CheckRedirect: func(r *http.Request, _ []*http.Request) error {
r.URL.Opaque = r.URL.Path
return nil
},
@@ -141,7 +141,7 @@ func downloadUpdate(newVersion string) (bool, error) {
return false, err
}
check := http.Client{
CheckRedirect: func(r *http.Request, via []*http.Request) error {
CheckRedirect: func(r *http.Request, _ []*http.Request) error {
r.URL.Opaque = r.URL.Path
return nil
},