From 41a938463827c00b571c619f5c837cd9dc2640ea Mon Sep 17 00:00:00 2001 From: Dominik Menke Date: Fri, 18 Oct 2019 20:08:13 +0200 Subject: [PATCH] docs: clarify installation-from-source instructions Using github.com/go-acme/lego/cmd/lego confuses go get. It fetches github.com/go-acme/lego@v2.7.2+incompatible (among others) and stumbles over a type error with that version. Correcting the go get path to github.com/go-acme/lego/v3/cmd/lego does the right thing. fixes #993 --- docs/content/installation/_index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/installation/_index.md b/docs/content/installation/_index.md index 5b251fe4..52273eaa 100644 --- a/docs/content/installation/_index.md +++ b/docs/content/installation/_index.md @@ -45,8 +45,8 @@ Requirements: - `go` v1.12+ - environment variable: `GO111MODULE=on` -To install from sources, just run: +To install the latest development version from sources, just run: ```bash -go get -u github.com/go-acme/lego/cmd/lego +go get -u github.com/go-acme/lego/v3/cmd/lego ```