Skip to content

Commit

Permalink
Support Go modules
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio Andres Virviescas Santana committed Nov 2, 2018
1 parent 184a914 commit 55b3f8b
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 32 deletions.
14 changes: 7 additions & 7 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 0 additions & 12 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,6 @@
branch = "master"
name = "github.com/valyala/bytebufferpool"

[[override]]
name = "github.com/klauspost/compress"
branch = "master"

[[override]]
name = "github.com/klauspost/cpuid"
branch = "master"

[[override]]
name = "github.com/klauspost/crc32"
branch = "master"

[prune]
go-tests = true
unused-packages = true
13 changes: 0 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,6 @@ package API is stable.

### Installation

#### Dep

If you're using [dep](https://github.com/golang/dep), just use `dep ensure` to add
a specific version of fasthttp/websocket including all its transitive dependencies to
your project:

```
dep ensure -add github.com/fasthttp/websocket@v1.4.0
```

#### Go Get

You can also use go get:
```
go get github.com/fasthttp/websocket
```
Expand Down
8 changes: 8 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module github.com/fasthttp/websocket

require (
github.com/klauspost/compress v1.4.0
github.com/klauspost/cpuid v0.0.0-20180405133222-e7e905edc00e
github.com/valyala/bytebufferpool v1.0.0
github.com/valyala/fasthttp v0.0.0-20181101044417-192515395f6f
)
12 changes: 12 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
github.com/klauspost/compress v1.4.0 h1:8nsMz3tWa9SWWPL60G1V6CUsf4lLjWLTNEtibhe8gh8=
github.com/klauspost/compress v1.4.0/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A=
github.com/klauspost/cpuid v0.0.0-20170728055534-ae7887de9fa5/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek=
github.com/klauspost/cpuid v0.0.0-20180405133222-e7e905edc00e h1:+lIPJOWl+jSiJOc70QXJ07+2eg2Jy2EC7Mi11BWujeM=
github.com/klauspost/cpuid v0.0.0-20180405133222-e7e905edc00e/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek=
github.com/valyala/bytebufferpool v0.0.0-20180905182247-cdfbe9377474/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc=
github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw=
github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc=
github.com/valyala/fasthttp v0.0.0-20181101044417-192515395f6f h1:A/oCFfn7/Y4ppl3HYRdhrXA/S3GokjgC1KUbbGxm4Ks=
github.com/valyala/fasthttp v0.0.0-20181101044417-192515395f6f/go.mod h1:4vX61m6KN+xDduDNwXrhIAVZaZaZiQ1luJk8LWSxF3s=
github.com/valyala/tcplisten v0.0.0-20161114210144-ceec8f93295a/go.mod h1:v3UYOV9WzVtRmSR+PDvWpU/qWl4Wa5LApYYX4ZtKbio=
golang.org/x/net v0.0.0-20180911220305-26e67e76b6c3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=

0 comments on commit 55b3f8b

Please sign in to comment.