Fix golang doc URLs

This commit is contained in:
Jean-Baptiste Doumenjou
2021-09-10 11:42:07 +02:00
committed by GitHub
parent c011bdfdd8
commit fffa413121
8 changed files with 10 additions and 10 deletions

View File

@@ -3,7 +3,7 @@ package tls
import "crypto/tls"
// GetVersion returns the normalized TLS version.
// Available TLS versions defined at https://golang.org/pkg/crypto/tls/#pkg-constants
// Available TLS versions defined at https://pkg.go.dev/crypto/tls/#pkg-constants
func GetVersion(connState *tls.ConnectionState) string {
switch connState.Version {
case tls.VersionTLS10: