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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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: