Skip to content

Commit ce903f6

Browse files
apoorvajagtapAlexVulaj
authored andcommitted
Reverts to v1.5.0
This commit reverts the changes back till 8983b96. And inherits the README.md changes of 931041c Relates to: - #880 (comment)
1 parent 9ec25ca commit ce903f6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+215
-1643
lines changed

.circleci/config.yml

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
version: 2.1
2+
3+
jobs:
4+
"test":
5+
parameters:
6+
version:
7+
type: string
8+
default: "latest"
9+
golint:
10+
type: boolean
11+
default: true
12+
modules:
13+
type: boolean
14+
default: true
15+
goproxy:
16+
type: string
17+
default: ""
18+
docker:
19+
- image: "cimg/go:<< parameters.version >>"
20+
working_directory: /home/circleci/project/go/src/github.com/gorilla/websocket
21+
environment:
22+
GO111MODULE: "on"
23+
GOPROXY: "<< parameters.goproxy >>"
24+
steps:
25+
- checkout
26+
- run:
27+
name: "Print the Go version"
28+
command: >
29+
go version
30+
- run:
31+
name: "Fetch dependencies"
32+
command: >
33+
if [[ << parameters.modules >> = true ]]; then
34+
go mod download
35+
export GO111MODULE=on
36+
else
37+
go get -v ./...
38+
fi
39+
# Only run gofmt, vet & lint against the latest Go version
40+
- run:
41+
name: "Run golint"
42+
command: >
43+
if [ << parameters.version >> = "latest" ] && [ << parameters.golint >> = true ]; then
44+
go get -u golang.org/x/lint/golint
45+
golint ./...
46+
fi
47+
- run:
48+
name: "Run gofmt"
49+
command: >
50+
if [[ << parameters.version >> = "latest" ]]; then
51+
diff -u <(echo -n) <(gofmt -d -e .)
52+
fi
53+
- run:
54+
name: "Run go vet"
55+
command: >
56+
if [[ << parameters.version >> = "latest" ]]; then
57+
go vet -v ./...
58+
fi
59+
- run:
60+
name: "Run go test (+ race detector)"
61+
command: >
62+
go test -v -race ./...
63+
64+
workflows:
65+
tests:
66+
jobs:
67+
- test:
68+
matrix:
69+
parameters:
70+
version: ["1.18", "1.17", "1.16"]

.editorconfig

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/release-drafter.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Config for https://github.com/apps/release-drafter
2+
template: |
3+
4+
<summary of changes here>
5+
6+
## CHANGELOG
7+
$CHANGES

.github/workflows/issues.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

.github/workflows/security.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.

.github/workflows/verify.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

.gitignore

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,25 @@
1-
coverage.coverprofile
1+
# Compiled Object files, Static and Dynamic libs (Shared Objects)
2+
*.o
3+
*.a
4+
*.so
5+
6+
# Folders
7+
_obj
8+
_test
9+
10+
# Architecture specific extensions/prefixes
11+
*.[568vq]
12+
[568vq].out
13+
14+
*.cgo1.go
15+
*.cgo2.c
16+
_cgo_defun.c
17+
_cgo_gotypes.go
18+
_cgo_export.*
19+
20+
_testmain.go
21+
22+
*.exe
23+
24+
.idea/
25+
*.iml

.golangci.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

AUTHORS

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# This is the official list of Gorilla WebSocket authors for copyright
2+
# purposes.
3+
#
4+
# Please keep the list sorted.
5+
6+
Gary Burd <[email protected]>
7+
Google LLC (https://opensource.google.com/)
8+
Joachim Bauch <[email protected]>
9+

0 commit comments

Comments
 (0)