0a55a96ecdf9b6fafdd6043d1d843f8f2c889422

Author
Caleb Hearth <caleb@calebhearth.com>
Committer
GitHub <noreply@github.com>
Date

Message

Specify latest version in instal instructions (#4)

When installing from outside a go module directory, trying to install without a
version results in this error message:

    ❯ go install github.com/TheEdgeOfRage/logfmt

    go: 'go install' requires a version when current directory is not in a module
            Try 'go install github.com/TheEdgeOfRage/logfmt@latest' to install the latest version

Diff

 1diff --git a/README.md b/README.md
 2index e35d34c69123cd50ee70d5cd53bca444e8509a4a..0f6c9c808d410adba49f5cc5f45d1b0e7090611b 100644
 3--- a/README.md
 4+++ b/README.md
 5@@ -27,7 +27,7 @@ I recommend adding a `GOBIN` env var to your shell with a location to where you
 6 and adding that location to your `PATH`. With that set up, you can install logfmt using:
 7 
 8 ```
 9-go install github.com/TheEdgeOfRage/logfmt
10+go install github.com/TheEdgeOfRage/logfmt@latest
11 ```
12 
13 ### Usage