Skip to content
This repository has been archived by the owner on Nov 11, 2022. It is now read-only.

Commit

Permalink
README: update example
Browse files Browse the repository at this point in the history
  • Loading branch information
MarioCarrion committed Feb 7, 2020
1 parent b910387 commit aa63703
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# version
# versions

[![Go Report Card](https://goreportcard.com/badge/github.com/MarioCarrion/versions)](https://goreportcard.com/report/github.com/MarioCarrion/versions)
[![Circle CI](https://circleci.com/gh/MarioCarrion/versions.svg?style=svg)](https://circleci.com/gh/MarioCarrion/versions)
Expand All @@ -7,7 +7,7 @@

## Installing

* Using `go` (< 11.1): `go install github.com/MarioCarrion/version` **or** download a precompiled release.
* Using `go` (< 11.1): `go install github.com/MarioCarrion/versions` **or** download a precompiled release.
* Using `go` (>= 1.11): `GO111MODULE=on go get github.com/MarioCarrion/versions`,
* Using it as a dependency with the [`tools.go` paradigm](https://github.com/go-modules-by-example/index/blob/master/010_tools/README.md):

Expand All @@ -26,7 +26,7 @@ import (
After installing you can use:

```
versions <full path to go.mod> <full path to go.mod>
versions <full path to 1 go.mod> <full path to 2 go.mod> <full path to N go.mod>
```

## Example
Expand All @@ -42,22 +42,22 @@ The following output will be generated:
```
| | github.com/MarioCarrion/nit | github.com/MarioCarrion/versions |
|--- | :---: | :---: |
| Go version | | 1.13 | 1.13 |
| :white_check_mark: github.com/golangci/golangci-lint | v1.23.3 | v1.23.3 | |
| github.com/google/go-cmp | v0.2.0 | | |
| github.com/pkg/errors | v0.8.1 | | |
| :white_check_mark: golang.org/x/mod | | v0.2.0 | |
| Go version | 1.13 | 1.13 |
| :white_check_mark: github.com/golangci/golangci-lint | v1.23.3 | v1.23.3 |
| github.com/google/go-cmp | v0.2.0 | |
| github.com/pkg/errors | v0.8.1 | |
| :white_check_mark: golang.org/x/mod | | v0.2.0 |
```

Which renders like this in Markdown

| | github.com/MarioCarrion/nit | github.com/MarioCarrion/versions |
|--- | :---: | :---: |
| Go version | | 1.13 | 1.13 |
| :white_check_mark: github.com/golangci/golangci-lint | v1.23.3 | v1.23.3 | |
| github.com/google/go-cmp | v0.2.0 | | |
| github.com/pkg/errors | v0.8.1 | | |
| :white_check_mark: golang.org/x/mod | | v0.2.0 | |
| Go version | 1.13 | 1.13 |
| :white_check_mark: github.com/golangci/golangci-lint | v1.23.3 | v1.23.3 |
| github.com/google/go-cmp | v0.2.0 | |
| github.com/pkg/errors | v0.8.1 | |
| :white_check_mark: golang.org/x/mod | | v0.2.0 |

## Development requirements

Expand Down

0 comments on commit aa63703

Please # to comment.