Browse Source

corrected documentation causing build to fail

DnOberon 8 năm trước cách đây
mục cha
commit
09ea42b08e
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      redis/conn.go

+ 2 - 1
redis/conn.go

@@ -128,7 +128,8 @@ func DialPassword(password string) DialOption {
 }
 
 // DialTLSConfig specifies the config to use when a TLS connection is dialed.
-// Has no effect when not dialing a TLS connection.func DialTLSConfig(c *tls.Config) DialOption {
+// Has no effect when not dialing a TLS connection.
+func DialTLSConfig(c *tls.Config) DialOption {
 	return DialOption{func(do *dialOptions) {
 		do.tlsConfig = c
 	}}