2
0

Merge pull request #35 from recws-org/feature/loeffel-io/update

update
This commit is contained in:
Lucas Löffel
2021-03-16 09:37:58 +01:00
committed by GitHub
8 changed files with 39 additions and 8 deletions
+2 -1
View File
@@ -1,2 +1,3 @@
.history
/.idea
/.idea
ls-lint
+7
View File
@@ -0,0 +1,7 @@
ls:
.dir: snake_case
.go: snake_case
ignore:
- .git
- .idea
+5 -4
View File
@@ -8,14 +8,15 @@ env:
- GO111MODULE=on
go:
- "1.11.x"
- "1.12.x"
- "1.13.x"
- "1.14.x"
- "1.15.x"
- "1.16.x"
before_script:
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.23.6
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(go env GOPATH)/bin v1.38.0
script:
- make install
- make ls-lint
- make linter
- go run examples/basic.go
+11
View File
@@ -0,0 +1,11 @@
install:
go get
linter:
golangci-lint run
ls-lint:
curl -sL -o ls-lint https://github.com/loeffel-io/ls-lint/releases/download/v1.9.2/ls-lint-linux && chmod +x ls-lint && ./ls-lint
test:
make linter
+4
View File
@@ -15,6 +15,10 @@ Reconnecting WebSocket is a websocket client based on [gorilla/websocket](https:
go get github.com/recws-org/recws
```
## Sponsors
- [Makeless - Saas Ecosystem](https://github.com/makeless)
## Logo
- Logo by [Anastasia Marx](https://www.behance.net/AnastasiaMarx)
+3 -3
View File
@@ -1,8 +1,8 @@
module github.com/recws-org/recws
go 1.13
go 1.16
require (
github.com/gorilla/websocket v1.4.1
github.com/jpillora/backoff v0.0.0-20180909062703-3050d21c67d7
github.com/gorilla/websocket v1.4.2
github.com/jpillora/backoff v1.0.0
)
+4
View File
@@ -1,4 +1,8 @@
github.com/gorilla/websocket v1.4.1 h1:q7AeDBpnBk8AogcD4DSag/Ukw/KV+YhzLj2bP5HvKCM=
github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc=
github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
github.com/jpillora/backoff v0.0.0-20180909062703-3050d21c67d7 h1:K//n/AqR5HjG3qxbrBCL4vJPW0MVFSs9CPK1OOJdRME=
github.com/jpillora/backoff v0.0.0-20180909062703-3050d21c67d7/go.mod h1:2iMrUgbbvHEiQClaW2NsSzMyGHqN+rDFqY705q49KG0=
github.com/jpillora/backoff v1.0.0 h1:uvFg412JmmHBHw7iwprIxkPMI+sGQ4kzOWsMeHnm2EA=
github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4=
+3
View File
@@ -4,5 +4,8 @@ install:
linter:
golangci-lint run
ls-lint:
curl -sL -o ls-lint https://github.com/loeffel-io/ls-lint/releases/download/v1.9.2/ls-lint-linux && chmod +x ls-lint && ./ls-lint
test:
make linter