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 ba697c5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions internal/qtls/go_oldversion.go
@@ -0,0 +1,7 @@
//go:build (go1.9 || go1.10 || go1.11 || go1.12 || go1.13 || go1.14 || go1.15) && !go1.16
// +build go1.9 go1.10 go1.11 go1.12 go1.13 go1.14 go1.15
// +build !go1.16

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 ba697c5

Please sign in to comment.