Update installation instructions (#43)

`go get` is no longer supported outside of modules. Use `go install` instead.

Also document minimum required Go version.
This commit is contained in:
Jacob Hoffman-Andrews 2022-07-06 18:33:29 -07:00 committed by GitHub
parent ef346f5e25
commit f536641923
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,12 +9,16 @@ names and labels by using a set of regular expressions.
- - - -
# Prerequisites
Go 1.16 or above is required.
# Installation
To install this code and in your go environment. You can then add the binary to your `PATH`.
go install github.com/letsencrypt/unbound_exporter@latest
go get github.com/letsencrypt/unbound_exporter
go install github.com/letsencrypt/unbound_exporter
This will install the binary in `$GOBIN`, or `$HOME/go/bin` if
`$GOBIN` is unset.
# Updating dependencies