Update readme

Signed-off-by: Vartan Benohanian <vartanbeno@gmail.com>
This commit is contained in:
Vartan Benohanian 2021-02-01 12:06:12 -05:00
parent ff5b4e8f91
commit 3854472976

View file

@ -24,16 +24,8 @@ You can view Reddit's official API documentation [here](https://www.reddit.com/d
## Install ## Install
To get a specific version from the list of [versions](https://github.com/vartanbeno/go-reddit/releases):
```sh ```sh
go get github.com/vartanbeno/go-reddit@vX.Y.Z go get github.com/vartanbeno/go-reddit/v2
```
Or for the latest version:
```sh
go get github.com/vartanbeno/go-reddit
``` ```
The repository structure for managing multiple major versions follows the one outlined [here](https://github.com/go-modules-by-example/index/tree/master/016_major_version_repo_strategy#major-branch-strategy). The repository structure for managing multiple major versions follows the one outlined [here](https://github.com/go-modules-by-example/index/tree/master/016_major_version_repo_strategy#major-branch-strategy).