boynux / squid-exporter

Squid Prometheus Exporter
https://www.boynux.com/squid-exporter
MIT License
134 stars 53 forks source link

Drop vendor directory #94

Closed dswarbrick closed 4 months ago

dswarbrick commented 5 months ago

Vendor directories are an antiquated concept. Most projects have abandoned the use of vendoring, as it is no longer necessary with modern Go tooling.

Also update a couple of deprecated function calls and fix a couple of go-staticcheck nags.

dswarbrick commented 5 months ago

The prometheus/client_golang and prometheus/common dependencies are also very outdated, but I suggest that they be updated in a separate PR once the vendor directory is purged from master branch.