lib/connections: Fix building with `-tags noquic` (#9009)

This commit is contained in:
Chih-Hsuan Yen 2023-07-28 18:08:50 +08:00 committed by GitHub
parent 341b79814e
commit b806026990
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -9,6 +9,10 @@
package connections
import (
"fmt"
)
var errNotInBuild = fmt.Errorf("%w: disabled at build time", errUnsupported)
func init() {