/*
GoCheese -- Python private package repository and caching proxy
-Copyright (C) 2019-2020 Sergey Matveev <stargrave@stargrave.org>
+Copyright (C) 2019-2021 Sergey Matveev <stargrave@stargrave.org>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
log.Fatal(err)
}
if bytes.Compare(hasher.Sum(digest[:0]), data) == 0 {
- fmt.Println(pkgName, "GOOD")
+ fmt.Println("GOOD", pkgName)
} else {
isGood = false
- fmt.Println(pkgName, "BAD")
+ fmt.Println("BAD", pkgName)
}
hasher.Reset()
}