Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make it possible to use multiple qtls versions at the same time, add support for Go 1.15 #2720

Merged
merged 4 commits into from
Aug 20, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
use depguard to make sure that qtls is only imported in internal/qtls
  • Loading branch information
marten-seemann committed Aug 18, 2020
commit 0711119b96ca62bc1c3d24997ea9f643c68212bb
10 changes: 10 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ run:
- internal/handshake/unsafe_test.go

linters-settings:
depguard:
type: blacklist
packages:
- github.com/marten-seemann/qtls
packages-with-error-message:
- github.com/marten-seemann/qtls: "importing qtls only allowed in internal/qtls"
misspell:
ignore-words:
- ect
Expand All @@ -12,6 +18,7 @@ linters:
disable-all: true
enable:
- deadcode
- depguard
- goconst
- goimports
- gosimple
Expand All @@ -33,3 +40,6 @@ issues:
- path: qlog/
linters:
- goconst
- path: internal/qtls
linters:
- depguard