Add and enforce golangci-lint (#16)

This commit is contained in:
Dave Gallant
2020-07-05 22:44:05 -04:00
committed by GitHub
parent 2ec9bca107
commit d9474be233
13 changed files with 141 additions and 59 deletions

View File

@@ -27,7 +27,7 @@ go get github.com/davegallant/srv
## configure
srv reads configuration from `~/.config/srv/config.yaml`
srv reads configuration from `~/.config/srv/config.yml`
If a configuration is not provided, a default configuration is generated.
@@ -37,7 +37,7 @@ If a configuration is not provided, a default configuration is generated.
An example config can be copied:
```shell
cp ./config-example.yaml ~/.config/srv/config.yaml
cp ./config-example.yml ~/.config/srv/config.yml
```
## navigate
@@ -48,6 +48,8 @@ Key mappings are statically defined for the time being.
- `UP/DOWN` navigates feeds and items`
- `ENTER` either selects a feed or opens a feed item in an external application.
- `F5` refresh list of feeds
- `CTRL+C` quit
## build
@@ -60,3 +62,9 @@ make build
```shell
make test
```
## lint
```shell
make lint
```