Skip to content

Commit

Permalink
docs(readme): update installation instructions (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
princjef authored Nov 12, 2021
1 parent 4fbf40f commit 33854af
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,13 @@ Package gomarkdoc formats documentation for one or more packages as markdown for

### Command Line Usage

If you want to use this package as a command\-line tool\, you can install the command by running:
If you want to use this package as a command\-line tool\, you can install the command by running the following on go 1\.16\+:

```
go install github.com/princjef/gomarkdoc/cmd/gomarkdoc@latest
```

For older versions of go\, you can install using the following method instead:

```
GO111MODULE=on go get -u github.com/princjef/gomarkdoc/cmd/gomarkdoc
Expand Down
6 changes: 5 additions & 1 deletion doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
// Command Line Usage
//
// If you want to use this package as a command-line tool, you can install the
// command by running:
// command by running the following on go 1.16+:
//
// go install github.com/princjef/gomarkdoc/cmd/gomarkdoc@latest
//
// For older versions of go, you can install using the following method instead:
//
// GO111MODULE=on go get -u github.com/princjef/gomarkdoc/cmd/gomarkdoc
//
Expand Down

0 comments on commit 33854af

Please sign in to comment.