Skip to content

Commit

Permalink
also throw an error for outdated Go versions
Browse files Browse the repository at this point in the history
  • Loading branch information
marten-seemann committed Mar 30, 2022
1 parent aef7ac0 commit cc7a2de
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions internal/qtls/go_oldversion.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
//go:build (go1.9 || go1.10 || go1.11 || go1.12 || go1.13 || go1.14 || go1.15) && !go1.16 && !go1.17 && !go.18 && !go1.19
// +build go1.9 go1.10 go1.11 go1.12 go1.13 go1.14 go1.15
// +build !go1.16
// +build !go1.17
// +build !go.18
// +build !go1.19

package qtls

var _ int = "The version of quic-go you're using can't be built using outdated Go versions. For more details, please see https://github.com/lucas-clemente/quic-go/wiki/quic-go-and-Go-versions."

0 comments on commit cc7a2de

Please sign in to comment.